Created the Manage.jsx state
This commit is contained in:
14
src/states/Manage/Manage.jsx
Normal file
14
src/states/Manage/Manage.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import {Navigate} from "react-router-dom";
|
||||
|
||||
export const Manage = () => {
|
||||
|
||||
if (!localStorage.getItem("token")) {
|
||||
return <Navigate to="/auth"/>;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<p style={{margin: 0}}>manage</p>
|
||||
</>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user