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.
useEffect
NftsTab
1 parent 1f25af3 commit 12a68eeCopy full SHA for 12a68ee
ui/components/app/assets/nfts/nfts-tab/nfts-tab.js
@@ -85,6 +85,7 @@ export default function NftsTab() {
85
referrer: ORIGIN_METAMASK,
86
},
87
});
88
+ endTrace({ name: TraceName.AccountOverviewNftsTabFMP });
89
endTrace({ name: TraceName.AccountOverviewNftsTab });
90
}, [
91
nftsLoading,
@@ -95,13 +96,6 @@ export default function NftsTab() {
95
96
currentLocale,
97
]);
98
- useEffect(() => {
99
- if (!nftsLoading && showNftBanner) {
100
- endTrace({ name: TraceName.AccountOverviewNftsTabFMP });
101
- endTrace({ name: TraceName.AccountOverviewNftsTab });
102
- }
103
- }, [nftsLoading, showNftBanner]);
104
-
105
useEffect(() => {
106
if (nftsLoading) {
107
return;
0 commit comments