login page
This commit is contained in:
@@ -15,9 +15,7 @@ const RegisterPage = () => {
|
||||
// проверяем логин
|
||||
if (isAuthenticated) {
|
||||
// распределяем
|
||||
if (!isClient) {
|
||||
router.replace('/admin')
|
||||
} else {
|
||||
if (isClient) {
|
||||
router.replace('/account')
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user