feat(column): add thread and user columns

This commit is contained in:
reya
2023-12-28 11:31:47 +07:00
parent 893f3f7181
commit 4fc3cc8a80
21 changed files with 921 additions and 22 deletions
@@ -14,7 +14,7 @@ export function NoteProvider({
export function useNoteContext() {
const context = useContext(EventContext);
if (context === undefined) {
if (!context) {
throw new Error("Please import Note Provider to use useNoteContext() hook");
}
return context;