Commit 71e302cb authored by Vitaly Slobodin's avatar Vitaly Slobodin

Fix ESLint error

parent 089a4ef6
...@@ -23,10 +23,10 @@ export const resolvers = { ...@@ -23,10 +23,10 @@ export const resolvers = {
states: (_, { countryId }) => { states: (_, { countryId }) => {
return Api.fetchStates(countryId) return Api.fetchStates(countryId)
.then(({ data }) => { .then(({ data }) => {
// eslint-disable-next-line @gitlab/require-i18n-strings
return Object.entries(data).map(([key, value]) => ({ return Object.entries(data).map(([key, value]) => ({
id: value, id: value,
name: key, name: key,
// eslint-disable-next-line @gitlab/require-i18n-strings
__typename: 'State', __typename: 'State',
})); }));
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment