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: '',
description: '',
url: '',
category_id: 2,
},
setBookmark: () => {},
})
@ -54,6 +55,7 @@ export function Providers({ children, themeProps }: ProvidersProps) {
link: '',
description: '',
url: '',
category_id: 2,
})
return (
<BookmarkContext.Provider

Loading…
Cancel
Save