Skip to content

Commit 06e54ec

Browse files
committed
fixup! chore(suite): comply with warnings
1 parent 330da42 commit 06e54ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/components/src/components/AssetLogo/AssetLogo.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ export const AssetLogo = ({
8181
setIsPlaceholder(true);
8282
};
8383
useEffect(() => {
84-
if (shouldTryToFetch) {
85-
setIsPlaceholder(false);
86-
}
84+
setIsPlaceholder(!shouldTryToFetch);
8785
}, [shouldTryToFetch]);
8886

8987
return (

0 commit comments

Comments
 (0)