From 767c9cffa0e0d5a4fc222e9519f3dcc016fe8ad9 Mon Sep 17 00:00:00 2001 From: Bran18 Date: Thu, 21 Nov 2024 20:16:54 -0600 Subject: [PATCH] chore: typo + dev notes --- frontend/app/marketplace/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/marketplace/page.tsx b/frontend/app/marketplace/page.tsx index 7a57c54..8d9f154 100644 --- a/frontend/app/marketplace/page.tsx +++ b/frontend/app/marketplace/page.tsx @@ -86,6 +86,7 @@ function SidebarComponent({ }: SidebarComponentProps) { const pathname = usePathname(); const router = useRouter(); + // * Shows home button only on marketplace path but can be extended to other pages if needed const showHomeButton = pathname?.includes("/marketplace"); return ( @@ -113,7 +114,7 @@ function SidebarComponent({ max={1500} step={10} value={priceRange} - onVolumeChange={setPriceRange} + onValueChange={setPriceRange} className="mb-3" />