Created the Manage.jsx state
This commit is contained in:
parent
5f0cc13770
commit
6141c2664f
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>
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user