Skip to content

Commit

Permalink
CR: update
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Apr 2, 2023
1 parent 59f50d7 commit 0b7d530
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Nfts/Nfts.tsx
Expand Up @@ -32,8 +32,6 @@ export const Nfts = () => {
const hasEmptySearchResult = nftsSearchTerm.length > 0 && nftsSearchResult.length === 0
const hasNotNfts = nftsSearchTerm.length === 0 && nftsSearchResult.length === 0

const handleNftSelect = (id: string) => navigateTo.nftDetails(id)

const onRefresh = React.useCallback(() => {
setIsManualRefreshing(true)
refetch()
Expand Down Expand Up @@ -105,7 +103,7 @@ export const Nfts = () => {

<ImageGallery
nfts={nftsSearchResult}
onSelect={handleNftSelect}
onSelect={navigateTo.nftDetails}
onRefresh={onRefresh}
isRefreshing={isManualRefreshing}
/>
Expand Down

0 comments on commit 0b7d530

Please sign in to comment.