diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-11-02 17:20:52 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-11-02 17:20:52 +0700 |
| commit | c1d6b160c7356f990017a36ccd84590c45e7528e (patch) | |
| tree | 954bf7e55e50b1148b7e81b0c63134b230bc9122 /src/pages | |
| parent | 4e1bc974c409cc1707aae5857377c3bd20767ea3 (diff) | |
Set viewport
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/shop/product/[slug].js | 11 |
1 files changed, 4 insertions, 7 deletions
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; |
