diff options
| author | Factiven <[email protected]> | 2023-07-20 17:54:58 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-07-20 17:54:58 +0700 |
| commit | 742d807b59855ca6f9ace0da90192f8e3eed4f2c (patch) | |
| tree | 7d8f858ce76df4775d74eb4a547064bedf300bc5 /pages/id/search | |
| parent | Update v3.6.6 (diff) | |
| download | moopa-742d807b59855ca6f9ace0da90192f8e3eed4f2c.tar.xz moopa-742d807b59855ca6f9ace0da90192f8e3eed4f2c.zip | |
Update v3.6.7
> Fixed Schedule
Diffstat (limited to 'pages/id/search')
| -rw-r--r-- | pages/id/search/[param].js | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/pages/id/search/[param].js b/pages/id/search/[param].js index 00fab64..43f419c 100644 --- a/pages/id/search/[param].js +++ b/pages/id/search/[param].js @@ -1,6 +1,6 @@ import { useEffect, useRef, useState } from "react"; import { AnimatePresence, motion as m } from "framer-motion"; -import Skeleton, { SkeletonTheme } from "react-loading-skeleton"; +import Skeleton from "react-loading-skeleton"; import { useRouter } from "next/router"; import Link from "next/link"; import Navbar from "../../../components/navbar"; @@ -460,18 +460,16 @@ export default function Card() { {loading && ( <> - <SkeletonTheme baseColor="#232329" highlightColor="#2a2a32"> - {[1, 2, 4, 5, 6, 7, 8].map((item) => ( - <div - key={item} - className="flex flex-col w-[135px] xl:w-[185px] gap-5" - style={{ scale: 0.98 }} - > - <Skeleton className="h-[192px] w-[135px] xl:h-[265px] xl:w-[185px]" /> - <Skeleton width={110} height={30} /> - </div> - ))} - </SkeletonTheme> + {[1, 2, 4, 5, 6, 7, 8].map((item) => ( + <div + key={item} + className="flex flex-col w-[135px] xl:w-[185px] gap-5" + style={{ scale: 0.98 }} + > + <Skeleton className="h-[192px] w-[135px] xl:h-[265px] xl:w-[185px]" /> + <Skeleton width={110} height={30} /> + </div> + ))} </> )} </div> |