From d9376f2240887487b9006dd724855677c8c26371 Mon Sep 17 00:00:00 2001
From: Ben Whitmore <ben.whitmore0@gmail.com>
Date: Wed, 31 Mar 2021 12:23:56 +1300
Subject: [PATCH] refactor: use preferred import for gql

---
 app/components/component-submit/src/upload.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/components/component-submit/src/upload.js b/app/components/component-submit/src/upload.js
index 8e4eb1d50a..9259782165 100644
--- a/app/components/component-submit/src/upload.js
+++ b/app/components/component-submit/src/upload.js
@@ -1,6 +1,6 @@
 import config from 'config'
 import request from 'pubsweet-client/src/helpers/api'
-import gql from 'graphql-tag'
+import { gql } from '@apollo/client'
 import currentRolesVar from '../../../shared/currentRolesVar'
 
 const urlFrag = config.journal.metadata.toplevel_urlfragment
-- 
GitLab