Commit 17deb964 by JustSong

Redirect user if not logged in

parent 799d7ada
...@@ -99,7 +99,9 @@ function App() { ...@@ -99,7 +99,9 @@ function App() {
<Route <Route
path='/token' path='/token'
element={ element={
<PrivateRoute>
<Token /> <Token />
</PrivateRoute>
} }
/> />
<Route <Route
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment