Lookup did for my profile at screen to avoid bad actor error (#1800)
This commit is contained in:
parent
8747c215b1
commit
846c130706
2 changed files with 5 additions and 5 deletions
|
@ -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)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue