refactoring
This commit is contained in:
@ -8,7 +8,7 @@ const HomePage = lazy(() => import('./pages/HomePage'));
|
||||
const CandidatePage = lazy(() => import('./pages/CandidatePage'));
|
||||
|
||||
const App = () => {
|
||||
const [isAuth, setIsAuth] = useState(false);
|
||||
const [isAuth, setIsAuth] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
const auth = localStorage.getItem('auth');
|
||||
|
Reference in New Issue
Block a user