Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
LL-8607 - Specify navigator for NftCollection screen (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Lambert authored Dec 30, 2021
1 parent a02631e commit c6801fd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/screens/Account/NftCollectionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@ export default function NftCollectionsList({ account }: Props) {
// Forced to use useCallback here to avoid a non sensical warning...
const navigateToCollection = useCallback(
collection =>
navigation.navigate(ScreenName.NftCollection, {
collection,
accountId: account.id,
navigation.navigate(NavigatorName.Accounts, {
screen: ScreenName.NftCollection,
params: {
collection,
accountId: account.id,
},
initial: false,
}),
[account.id, navigation],
);
Expand Down

0 comments on commit c6801fd

Please sign in to comment.