Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improve code

dominik-zeglencd674687d127
diff --git a/saleor/static/dashboard-next/index.tsx b/saleor/static/dashboard-next/index.tsx
index 797487c543..16d60dcdc6 100644
--- a/saleor/static/dashboard-next/index.tsx
+++ b/saleor/static/dashboard-next/index.tsx
@@ -81,8 +81,8 @@ const batchLink = new BatchHttpLink(linkOptions);
const link = ApolloLink.split(
operation => operation.getContext().useBatching,
- new BatchHttpLink(linkOptions),
- createUploadLink(linkOptions)
+ batchLink,
+ uploadLink
);
const apolloClient = new ApolloClient({