Skip to content

Commit 1dc4ce7

Browse files
committed
[SDK] Fix empty assetTabs
1 parent 46c3abb commit 1dc4ce7

File tree

1 file changed

+1
-1
lines changed
  • packages/thirdweb/src/react/web/ui/ConnectWallet

1 file changed

+1
-1
lines changed

packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ function DetailsModal(props: {
660660

661661
{/* View Funds */}
662662
{/* Hide the View Funds button if the assetTabs props is set to an empty array */}
663-
{(props.assetTabs === undefined || props.assetTabs.length) && (
663+
{(props.assetTabs === undefined || props.assetTabs.length > 0) && (
664664
<MenuButton
665665
onClick={() => {
666666
setScreen("view-assets");

0 commit comments

Comments
 (0)