diff options
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r-- | src/Navigation.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 49a2c429d..a6949de23 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -349,7 +349,6 @@ function NotificationsTabNavigator() { const MyProfileTabNavigator = observer(function MyProfileTabNavigatorImpl() { const contentStyle = useColorSchemeStyle(styles.bgLight, styles.bgDark) - const store = useStores() return ( <MyProfileTab.Navigator screenOptions={{ @@ -364,7 +363,7 @@ const MyProfileTabNavigator = observer(function MyProfileTabNavigatorImpl() { // @ts-ignore // TODO: fix this broken type in ProfileScreen getComponent={() => ProfileScreen} initialParams={{ - name: store.me.did, + name: 'me', }} /> {commonScreens(MyProfileTab as typeof HomeTab)} |