Silence React Router future warnings in tests
This commit is contained in:
@@ -163,7 +163,7 @@ function renderLoop(initialPath: string) {
|
||||
<I18nProvider>
|
||||
<ConfirmProvider>
|
||||
<PromptProvider>
|
||||
<MemoryRouter initialEntries={[initialPath]}>
|
||||
<MemoryRouter initialEntries={[initialPath]} future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
|
||||
<LocationIndicator />
|
||||
<Routes>
|
||||
<Route path="/dashboard" element={<DashboardView />} />
|
||||
|
||||
Reference in New Issue
Block a user