auth replace
This commit is contained in:
@@ -50,7 +50,7 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
|
||||
} else {
|
||||
e.stopPropagation();
|
||||
toast('ابتدا لاگین کنید', 'error');
|
||||
router.push(`/${name}/auth`);
|
||||
router.replace(`/${name}/auth`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user