update navigation for react-router v6

This commit is contained in:
Min RK
2024-03-08 14:26:41 +01:00
parent bfe143f1ac
commit 77e625d36d
11 changed files with 82 additions and 115 deletions

View File

@@ -27,7 +27,7 @@ var mockAsync = () =>
var groupsJsx = (callbackSpy) => (
<Provider store={createStore(mockReducers, mockAppState())}>
<HashRouter>
<Groups location={{ search: "0" }} updateGroups={callbackSpy} />
<Groups updateGroups={callbackSpy} />
</HashRouter>
</Provider>
);