Fixes bug with updating relationships when an item is added

This commit is contained in:
2025-07-15 10:09:53 -07:00
parent 258518d954
commit 8f96062058
5 changed files with 7 additions and 28 deletions

View File

@@ -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={{