From 8972fa32dd1b16b3f01d5c7cb98a5c320348ead3 Mon Sep 17 00:00:00 2001 From: ritiks236 Date: Sat, 26 Oct 2024 03:19:22 +0530 Subject: [PATCH] pagination fixed --- apps/web/components/Tracks.tsx | 46 +++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/apps/web/components/Tracks.tsx b/apps/web/components/Tracks.tsx index d9af482c..c2ef593c 100644 --- a/apps/web/components/Tracks.tsx +++ b/apps/web/components/Tracks.tsx @@ -128,11 +128,11 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => { initial={{ y: -20, opacity: 0 }} animate={{ y: 0, opacity: 1 }} transition={{ duration: 0.5, ease: "easeInOut", type: "spring", damping: 10, delay: 0.5 }} - className="flex max-w-5xl flex-col gap-4 w-full mx-auto p-4" + className="mx-auto flex w-full max-w-5xl flex-col gap-4 p-4" id="tracks" > -
-
+
+
- +
-
+
{/* Filter by Categories */} -
+