diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-11-02 19:54:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 19:54:43 -0700 |
commit | 846c13070673bca2f0e14751aa8fdb7322fb8ed9 (patch) | |
tree | bd19f2695dd6f0211220e169575d7954ecbb72c3 /src/Navigation.tsx | |
parent | 8747c215b1735e9074fbfd43003d72793498e125 (diff) | |
download | voidsky-846c13070673bca2f0e14751aa8fdb7322fb8ed9.tar.zst |
Lookup did for my profile at screen to avoid bad actor error (#1800)
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)} |