Skip to content

Commit

Permalink
Fix home screen params being undefined on start, contrary to the types
Browse files Browse the repository at this point in the history
  • Loading branch information
hbriese committed Jul 17, 2023
1 parent 44015fb commit 503c6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/navigation/StackNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const StackNavigator = () => {
</Navigation.Group>
)}

<Navigation.Screen name="Home" component={HomeScreen} />
<Navigation.Screen name="Home" component={HomeScreen} initialParams={{}} />
<Navigation.Screen name="CreateAccount" component={CreateAccountScreen} />
<Navigation.Screen name="Scan" component={ScanScreen} />
<Navigation.Screen name="Proposal" component={ProposalScreen} />
Expand Down

0 comments on commit 503c6cf

Please sign in to comment.