diff options
Diffstat (limited to 'src/view/screens/ProfileFollows.tsx')
-rw-r--r-- | src/view/screens/ProfileFollows.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/ProfileFollows.tsx b/src/view/screens/ProfileFollows.tsx index c075851c6..e54b562e7 100644 --- a/src/view/screens/ProfileFollows.tsx +++ b/src/view/screens/ProfileFollows.tsx @@ -5,13 +5,13 @@ import {ProfileFollows as ProfileFollowsComponent} from '../com/profile/ProfileF import {ScreenParams} from '../routes' import {useStores} from '../../state' -export const ProfileFollows = ({visible, params}: ScreenParams) => { +export const ProfileFollows = ({navIdx, visible, params}: ScreenParams) => { const store = useStores() const {name} = params useEffect(() => { if (visible) { - store.nav.setTitle(`Followed by ${name}`) + store.nav.setTitle(navIdx, `Followed by ${name}`) } }, [store, visible, name]) |