auth replace

This commit is contained in:
hamid zarghami
2025-12-24 16:32:42 +03:30
parent 86f23fb8ad
commit 40794a9cca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
} else {
e.stopPropagation();
toast('ابتدا لاگین کنید', 'error');
router.push(`/${name}/auth`);
router.replace(`/${name}/auth`);
}
}