graphql_tag__WEBPACK_IMPORTED_MODULE_1__.gql is not a function code example
Example: gql TypeError: Object(...) is not a function
import gql from 'graphql-tag';
// then use it normally
import gql from 'graphql-tag';
// then use it normally