GQL TypeError: l'objet (...) n'est pas une fonction

import gql from 'graphql-tag';
// then use it normally
Emmanuel Mahuni