aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes.tsx
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-12-09 05:09:03 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-12-09 05:09:03 +0530
commitfefeb07e9b0d69955a3e915fc7c7ae3dfef5a66e (patch)
tree09e4529d7bfe2665e6942e128099b17017bc5448 /src/routes.tsx
parentIgnore lint error since it doesn't seem to affect behavior (diff)
downloadferdium-app-fefeb07e9b0d69955a3e915fc7c7ae3dfef5a66e.tar.gz
ferdium-app-fefeb07e9b0d69955a3e915fc7c7ae3dfef5a66e.tar.zst
ferdium-app-fefeb07e9b0d69955a3e915fc7c7ae3dfef5a66e.zip
Downgrade 'react-router-dom' since upgrading the minor version causes a breaking change
Diffstat (limited to 'src/routes.tsx')
-rw-r--r--src/routes.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/routes.tsx b/src/routes.tsx
index e090012d8..04b6fa96f 100644
--- a/src/routes.tsx
+++ b/src/routes.tsx
@@ -51,7 +51,6 @@ class FerdiumRoutes extends Component<IProps> {
51 const errorProps = { error: routeProps.stores.globalError.error || {} }; 51 const errorProps = { error: routeProps.stores.globalError.error || {} };
52 52
53 return ( 53 return (
54 // @ts-expect-error Property 'encodeLocation' is missing in type 'HashHistory' but required in type 'History'.
55 <HistoryRouter history={history}> 54 <HistoryRouter history={history}>
56 <Routes> 55 <Routes>
57 <Route path="/auth" element={<AuthLayoutContainer {...routeProps} />}> 56 <Route path="/auth" element={<AuthLayoutContainer {...routeProps} />}>