From c1d6b160c7356f990017a36ccd84590c45e7528e Mon Sep 17 00:00:00 2001 From: IT Fixcomart Date: Wed, 2 Nov 2022 17:20:52 +0700 Subject: Set viewport --- src/pages/shop/product/[slug].js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/pages') diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index 10b4c322..efc0be01 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -1,20 +1,17 @@ import Link from "next/link"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; -import Header from "../../../components/Header"; import ProductCard from "../../../components/ProductCard"; +import Header from "../../../components/Header"; import { getOdoo } from "../../../helpers/apiOdoo"; import { createSlug, getId } from "../../../helpers/slug"; import currencyFormat from "../../../helpers/currencyFormat"; import Head from "next/head"; import { Swiper, SwiperSlide } from "swiper/react"; import { LazyLoadImage } from "react-lazy-load-image-component"; - -import 'swiper/css'; -import 'react-lazy-load-image-component/src/effects/blur.css'; - -import ImagePlaceholderIcon from '../../../icons/image-placeholder.svg'; - +import "swiper/css"; +import "react-lazy-load-image-component/src/effects/blur.css"; +import ImagePlaceholderIcon from "../../../icons/image-placeholder.svg"; export async function getServerSideProps(context) { const { slug } = context.query; -- cgit v1.2.3