diff --git a/client/src/store/NodeListProvider.tsx b/client/src/store/NodeListProvider.tsx index c515f24..509ac7e 100644 --- a/client/src/store/NodeListProvider.tsx +++ b/client/src/store/NodeListProvider.tsx @@ -97,6 +97,7 @@ export default function NodeListProvider({ children }: { children: ReactNode }) payload: initializedNodes, callback: (response) => { overrideNodeData(response); + overrideHistory(JSON.stringify(response)); }, }); }); diff --git a/client/src/store/createSocketSlice.ts b/client/src/store/createSocketSlice.ts index 0563485..3920395 100644 --- a/client/src/store/createSocketSlice.ts +++ b/client/src/store/createSocketSlice.ts @@ -106,7 +106,7 @@ export const createSocketSlice: StateCreator