From 49f30924552f38213dc07dd07069e84fe0da49b7 Mon Sep 17 00:00:00 2001 From: Atlas Gong <68199735+atlasgong@users.noreply.github.com> Date: Thu, 3 Apr 2025 12:11:07 -0400 Subject: [PATCH] feat: new ongoing branch --- .../(app)/(pages)/directory/(directories)/DirectoryProvider.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/(app)/(pages)/directory/(directories)/DirectoryProvider.tsx b/src/app/(app)/(pages)/directory/(directories)/DirectoryProvider.tsx index 81b6423c..dfb798f8 100644 --- a/src/app/(app)/(pages)/directory/(directories)/DirectoryProvider.tsx +++ b/src/app/(app)/(pages)/directory/(directories)/DirectoryProvider.tsx @@ -40,6 +40,8 @@ interface DirectoryProviderProps { children: React.ReactNode; } +// TODO: use nextjs' native search params to handle filters (and search query?) +// https://nextjs.org/docs/app/api-reference/functions/use-search-params export function DirectoryProvider({ children }: DirectoryProviderProps) { const pathname = usePathname(); const isClubDirectory = pathname?.includes("/clubs");