Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dliu27 committed Dec 17, 2024
1 parent 3435b6e commit a3f3ed4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const AssetKeyTagCollection = React.memo((props: AssetKeyTagCollectionPro

const {containerRef, moreLabelRef} = useAdjustChildVisibilityToFill(moreLabelFn);

if (!sortedAssetKeys || !sortedAssetKeys.length) {
if (!assetKeys || !count) {
return null;
}

Expand Down Expand Up @@ -311,7 +311,7 @@ export const AssetCheckTagCollection = React.memo((props: AssetCheckTagCollectio

const {containerRef, moreLabelRef} = useAdjustChildVisibilityToFill(moreLabelFn);

if (!sortedAssetChecks || !sortedAssetChecks.length) {
if (!assetChecks || !count) {
return null;
}

Expand Down

0 comments on commit a3f3ed4

Please sign in to comment.