Skip to content

Commit 8d8bbd3

Browse files
Update app/(tabs)/profile.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d489567 commit 8d8bbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/(tabs)/profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function ProfileScreen() {
2121
// Redirect to login if not authenticated (only after component is ready)
2222
useEffect(() => {
2323
if (isReady && !user) {
24-
router.push('/login');
24+
router.replace('/login');
2525
}
2626
}, [user, isReady]);
2727

0 commit comments

Comments
 (0)