From 98b4301d528d55d8186e5ea44dec6e0a75c291d9 Mon Sep 17 00:00:00 2001 From: f0x Date: Tue, 13 Sep 2022 22:09:09 +0200 Subject: [PATCH] add top-level redirect --- web/source/settings-panel/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/source/settings-panel/index.js b/web/source/settings-panel/index.js index da0eec34d..c2cc78e1b 100644 --- a/web/source/settings-panel/index.js +++ b/web/source/settings-panel/index.js @@ -22,7 +22,7 @@ const Promise = require("bluebird"); const React = require("react"); const ReactDom = require("react-dom"); const Redux = require("react-redux"); -const { Switch } = require("wouter"); +const { Switch, Route, Redirect } = require("wouter"); const { Provider } = require("react-redux"); const { PersistGate } = require("redux-persist/integration/react"); @@ -118,6 +118,9 @@ function App() {
{ErrorElement} + + + {panelRouter}