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

LL-8607 - Fix Nft Collection link in asset allocation #2077

Merged
merged 1 commit into from
Dec 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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