Skip to content

Commit b373df0

Browse files
committed
Add future flags to remove warnings
1 parent 4167c81 commit b373df0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ function App() {
8080

8181
const root = ReactDOMClient.createRoot(document.getElementById('main'));
8282
root.render(
83-
<Router>
83+
<Router
84+
future={{
85+
v7_relativeSplatPath: true,
86+
v7_startTransition: true
87+
}}>
8488
<App />
8589
</Router>
8690
);

0 commit comments

Comments
 (0)