Skip to content

Commit

Permalink
fix: navigating user profiles from notification screen
Browse files Browse the repository at this point in the history
  • Loading branch information
scientiac committed Jan 16, 2025
1 parent 0836c04 commit a977063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3o14/app/(modals)/notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function NotificationsScreen() {

const handleProfileNavigation = (acct: string | unknown) => {
if (typeof acct === 'string') {
router.push(`/screens/profile/${acct}`);
router.push(`/(modals)/(profile)/${acct}`);
} else {
console.error("Account ID is not a string:", acct);
}
Expand Down

0 comments on commit a977063

Please sign in to comment.