Skip to content

Commit 6b56876

Browse files
committed
Fix Form story router warnings
1 parent c6abe6a commit 6b56876

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/ra-core/src/form/Form.stories.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,9 @@ export const InNonDataRouter = ({
344344
}: {
345345
i18nProvider?: I18nProvider;
346346
}) => (
347-
<HashRouter>
347+
<HashRouter
348+
future={{ v7_relativeSplatPath: false, v7_startTransition: false }}
349+
>
348350
<CoreAdminContext i18nProvider={i18nProvider}>
349351
<Routes>
350352
<Route path="/" element={<Link to="/form">Go to form</Link>} />

0 commit comments

Comments
 (0)