Skip to content

Commit

Permalink
fix: cleanup asset picker modal
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-fehri committed May 30, 2024
1 parent 6d83298 commit 88a439f
Showing 1 changed file with 0 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,69 +359,6 @@ export function AssetPickerModal({
previouslyOwnedCollection={previouslyOwnedCollection}
onClose={onClose}
/>
{/* {hasAnyNfts ? (
<Box
className="modal-tab__main-view"
ref={ref}
onScroll={onScroll}
>
<NftsItems
collections={collectionDataFiltered}
previouslyOwnedCollection={previouslyOwnedCollection}
isModal={true}
onCloseModal={() => onClose()}
showTokenId={true}
displayPreviouslyOwnedCollection={false}
/>
{isScrollable &&
isScrolledToBottom &&
isNftsStillFetched.isFetchingInProgress ? (
<Box className="modal-tab__loading">
<Spinner
color="var(--color-warning-default)"
className="loading-overlay__spinner"
/>
</Box>
) : null}
</Box>
) : (
<Box
padding={12}
display={Display.Flex}
flexDirection={FlexDirection.Column}
alignItems={AlignItems.center}
justifyContent={JustifyContent.center}
>
<Box justifyContent={JustifyContent.center}>
<img src="./images/no-nfts.svg" />
</Box>
<Box
marginTop={4}
marginBottom={12}
display={Display.Flex}
justifyContent={JustifyContent.center}
alignItems={AlignItems.center}
flexDirection={FlexDirection.Column}
className="nfts-tab__link"
>
<Text
color={TextColor.textMuted}
variant={TextVariant.headingSm}
textAlign={TextAlign.Center}
as="h4"
>
{t('noNFTs')}
</Text>
<ButtonLink
size={ButtonLinkSize.Sm}
href={ZENDESK_URLS.NFT_TOKENS}
externalLink
>
{t('learnMoreUpperCase')}
</ButtonLink>
</Box>
</Box>
)} */}
</Tab>
}
</Tabs>
Expand Down

0 comments on commit 88a439f

Please sign in to comment.