We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d86c6ef commit 480fb4eCopy full SHA for 480fb4e
.changeset/pink-ducks-flash.md
@@ -0,0 +1,5 @@
1
+---
2
+"thirdweb": patch
3
4
+
5
+Fix UI issue when assetTabs is set to an empty array
packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx
@@ -660,7 +660,7 @@ function DetailsModal(props: {
660
661
{/* View Funds */}
662
{/* Hide the View Funds button if the assetTabs props is set to an empty array */}
663
- {(props.assetTabs === undefined || props.assetTabs.length) && (
+ {(props.assetTabs === undefined || props.assetTabs.length > 0) && (
664
<MenuButton
665
onClick={() => {
666
setScreen("view-assets");
0 commit comments