aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/hooks/list-context.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/lib/hooks/list-context.tsx')
-rw-r--r--apps/web/lib/hooks/list-context.tsx21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/web/lib/hooks/list-context.tsx b/apps/web/lib/hooks/list-context.tsx
deleted file mode 100644
index cb8a20b2..00000000
--- a/apps/web/lib/hooks/list-context.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-"use client";
-
-import { createContext } from "react";
-
-export const BookmarkListContext = createContext<{
- listId: string | undefined;
-}>({ listId: undefined });
-
-export function BookmarkListContextProvider({
- listId,
- children,
-}: {
- listId: string;
- children: React.ReactNode;
-}) {
- return (
- <BookmarkListContext.Provider value={{ listId }}>
- {children}
- </BookmarkListContext.Provider>
- );
-}