Fixes bug with updating relationships when an item is added
This commit is contained in:
@@ -19,6 +19,8 @@ export const DocumentContext = createContext<DocumentContextValue | undefined>(
|
||||
export function DocumentProvider({ children }: { children: ReactNode }) {
|
||||
const [state, dispatch] = useReducer(reducer, initialState());
|
||||
|
||||
console.log("State: ", state);
|
||||
|
||||
return (
|
||||
<DocumentContext.Provider
|
||||
value={{
|
||||
|
||||
Reference in New Issue
Block a user