dx: solved react-router warnings
Massimo Melina committed
Mar 14, 2026 at 18:47 UTC
4c5c6feeeb5dab022a00d8d0074151616ee70d1a
1 file changed
+7
-1
admin/src/App.ts
+7
-1
@@ -26,7 +26,13 @@ function App() {
26
h(ApplyTheme, {},
27
h(LocalizationProvider, { dateAdapter: AdapterDayjs, adapterLocale: getLocale() },
28
h(LoginRequired, {},
29
- h(HashRouter, {},
29
+ h(HashRouter, {
30
+ // opt in to v7 behavior now to remove migration warnings in dev
31
+ future: {
32
+ v7_startTransition: true,
33
+ v7_relativeSplatPath: true,
34
+ }
35
+ },
36
h(Dialogs, {
37
style: {
38
display: 'flex', flexDirection: 'column',