Skip to content

Commit

Permalink
SHARED:AKR:OTR:VKT:YKI(Frontend): Apply review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Jarkko Pesonen <[email protected]>
  • Loading branch information
pkoivisto and jrkkp authored Mar 5, 2024
1 parent 24d01f7 commit 70611e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function ToggleFilterGroup<T>({
>
<div className="columns gapped">
<div className="grow">{label}</div>
{typeof count === "number" && <div>{`(${count})`}</div>}
{typeof count === "number" && !isNaN(count) && <div>{`(${count})`}</div>}
</div>
</CustomButton>
))}
Expand Down

0 comments on commit 70611e5

Please sign in to comment.