diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-09 15:49:24 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-09 15:49:24 +0100 |
| commit | fe13408831dce4bdae4911098d6079a097cae9e8 (patch) | |
| tree | 228bbb192b3a0f3417a4526c382b0a3ddf7e04ff /apps/web/lib/hooks | |
| parent | 994691b02515dfb579a5c3618631065bd76b9e4b (diff) | |
| download | karakeep-fe13408831dce4bdae4911098d6079a097cae9e8.tar.zst | |
feature(web): Allow uploading directly into lists/tags. Fixes #69
Diffstat (limited to 'apps/web/lib/hooks')
| -rw-r--r-- | apps/web/lib/hooks/list-context.tsx | 21 |
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> - ); -} |
