development third page

This commit is contained in:
Hope87
2021-06-10 18:17:50 +03:00
parent 8521448072
commit 57674c27c7
15 changed files with 331 additions and 31 deletions

View File

@ -8,7 +8,7 @@ const HomePage = lazy(() => import('./pages/HomePage'));
const CandidatePage = lazy(() => import('./pages/CandidatePage'));
const App = () => {
const [isAuth, setIsAuth] = useState(true);
const [isAuth, setIsAuth] = useState(false);
useEffect(() => {
const auth = localStorage.getItem('auth');