diff --git a/apps/storefront/src/pages/products/favourite.tsx b/apps/storefront/src/pages/products/favourite.tsx index 587968c..29059ff 100644 --- a/apps/storefront/src/pages/products/favourite.tsx +++ b/apps/storefront/src/pages/products/favourite.tsx @@ -1,10 +1,3 @@ -import Result from "@/components/shared/Result"; -import { - Favourite, - useFavouritesWithProductQuery, - useMeQuery, - useRemoveFromFavouriteMutation, -} from "@/generated/graphql"; import { AspectRatio, Box, @@ -19,9 +12,16 @@ import { VStack, useColorModeValue, } from "@chakra-ui/react"; +import Image from "next/image"; +import { + Favourite, + useFavouritesWithProductQuery, + useMeQuery, + useRemoveFromFavouriteMutation, +} from "@/generated/graphql"; +import Result from "@/components/shared/Result"; // import dayjs from "dayjs"; import ConfirmationModal from "@/components/helpers/ConfirmationModal"; -import Image from "next/image"; import HeadingGroup from "@/components/pages/account/HeadingGroup"; import Navbar from "@/components/shared/navbar"; import { PriceTag } from "@/components/shared/product/PriceTag"; diff --git a/apps/storefront/src/pages/test.tsx b/apps/storefront/src/pages/test.tsx index 089fbc4..9bd49f1 100644 --- a/apps/storefront/src/pages/test.tsx +++ b/apps/storefront/src/pages/test.tsx @@ -1,274 +1,3 @@ -import Result from "@/components/shared/Result"; -import { - Favourite, - useFavouritesWithProductQuery, - useMeQuery, - useRemoveFromFavouriteMutation, -} from "@/generated/graphql"; -import { - AspectRatio, - Box, - Button, - HStack, - Heading, - Link, - SimpleGrid, - Skeleton, - Stack, - Text, - VStack, - useColorModeValue, -} from "@chakra-ui/react"; -// import dayjs from "dayjs"; -import ConfirmationModal from "@/components/helpers/ConfirmationModal"; -import Image from "next/image"; -import HeadingGroup from "@/components/pages/account/HeadingGroup"; -import Navbar from "@/components/shared/navbar"; -import { PriceTag } from "@/components/shared/product/PriceTag"; -import services from "../../public/assets/services.svg"; +const TestPage = () =>