Fixed bookmark global context not having category_id

master
TZGyn 2 years ago
parent 19021b7bf6
commit ba51727c55
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -37,6 +37,7 @@ export const BookmarkContext = React.createContext<BookmarkContextContent>({
link: '', link: '',
description: '', description: '',
url: '', url: '',
category_id: 2,
}, },
setBookmark: () => {}, setBookmark: () => {},
}) })
@ -54,6 +55,7 @@ export function Providers({ children, themeProps }: ProvidersProps) {
link: '', link: '',
description: '', description: '',
url: '', url: '',
category_id: 2,
}) })
return ( return (
<BookmarkContext.Provider <BookmarkContext.Provider

Loading…
Cancel
Save