From 30a86db0dcd00583f76c333127028c314d98b4fc Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 27 Oct 2022 20:46:55 +0300 Subject: Use `react-router-v5-compat` --- vnext/src/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vnext/src/index.js') diff --git a/vnext/src/index.js b/vnext/src/index.js index cdb592e8..be2dfeb1 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -1,6 +1,7 @@ import { StrictMode, lazy, Suspense } from 'react'; import ReactDOM from 'react-dom'; -import { BrowserRouter } from 'react-router-dom'; +import { BrowserRouter } from "react-router-dom"; +import { CompatRouter } from "react-router-dom-v5-compat"; import { CookiesProvider } from 'react-cookie'; import './index.css'; @@ -20,7 +21,9 @@ const JuickApp = () => ( - + + + -- cgit v1.2.3