From f14ee322e3f697ecb7f911f2d3e3f8b19c75708b Mon Sep 17 00:00:00 2001 From: monoid Date: Sat, 9 Jan 2021 23:38:27 +0900 Subject: [PATCH] chg url / redirect /search --- src/client/app.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app.tsx b/src/client/app.tsx index 5b911b4..e6b1ed3 100644 --- a/src/client/app.tsx +++ b/src/client/app.tsx @@ -1,6 +1,6 @@ import React, { createContext, useRef, useState } from 'react'; import ReactDom from 'react-dom'; -import {BrowserRouter, Route, Switch as RouterSwitch} from 'react-router-dom'; +import {BrowserRouter, Redirect, Route, Switch as RouterSwitch} from 'react-router-dom'; import { Gallery, ContentAbout, LoginPage, NotFoundPage} from './page/mod'; import {UserContext} from './state'; @@ -18,7 +18,7 @@ const App = () => { setPermission:setUserPermission}}> - }> + }> }> }> }/>