redir fixes + 404 style fixes

This commit is contained in:
2025-09-12 10:34:02 +03:00
parent 999b83d7e1
commit 09f4079b9e
3 changed files with 12 additions and 5 deletions

View File

@ -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>
</>