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

Fix ESLint error

parent 089a4ef6
......@@ -23,10 +23,10 @@ export const resolvers = {
states: (_, { countryId }) => {
return Api.fetchStates(countryId)
.then(({ data }) => {
// eslint-disable-next-line @gitlab/require-i18n-strings
return Object.entries(data).map(([key, value]) => ({
id: value,
name: key,
// eslint-disable-next-line @gitlab/require-i18n-strings
__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