From 9ceeb32f5ddbdea61738594e1d43d3e790351778 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 1 Jul 2025 00:47:57 +0300 Subject: [PATCH] Fixes: 1) Remove unused `useRouter` import in index.tsx to clean up dependencies; Extra: Ensure better maintainability by eliminating redundant imports; --- storefront/src/pages/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/storefront/src/pages/index.tsx b/storefront/src/pages/index.tsx index 5168466e..c09a0d42 100644 --- a/storefront/src/pages/index.tsx +++ b/storefront/src/pages/index.tsx @@ -1,7 +1,6 @@ import {apolloClient} from 'graphql/apolloClient'; import {GET_PRODUCTS} from 'graphql/queries/getProducts'; import {GetStaticProps} from 'next'; -import {useRouter} from "next/router"; export const getStaticProps: GetStaticProps = async () => { const {data} = await apolloClient.query({