redir fixes + 404 style fixes
This commit is contained in:
@ -27,7 +27,6 @@ const PrivateRoute = () => {
|
||||
const [checked, setChecked] = useState(false);
|
||||
const [isValid, setIsValid] = useState(false);
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
const checkAuth = async () => {
|
||||
if (!token) {
|
||||
@ -85,7 +84,7 @@ function App() {
|
||||
<Route path='/settings' element={<Settings />} />
|
||||
</Route>
|
||||
|
||||
<Route path="*" element={<div>404</div>} />
|
||||
<Route path="*" element={<h1 className="not-found">404<br/>Not Found</h1>} />
|
||||
</Routes>
|
||||
</Router>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user