Current module view fails bc of "Identifier 'gql' has already been declared" syntax error
Closed this issue · 1 comments
eunicode commented
When I open a file in the examples directory, such as hooks > useCombobox > basic-usage.js
(https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/hooks/useCombobox/basic-usage.js)
and go to "Current Module View", I get this error:
SyntaxError: /src/shared.js: Identifier 'gql' has already been declared (5:8)
3 | import {gql} from '@apollo/client'
4 | import styled from 'react-emotion'
> 5 | import {gql} from '@apollo/client'
silviuaavram commented
Oups, sorry about that!