fix(ui): hide ContentCountBadge when count is 0

This commit is contained in:
ShivaniKhaire 2026-10-29 13:10:41 +05:30
parent 4e6b8ec8ee
commit b520220e1c
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export function ContentCountBadge({
count: number | null;
label?: string;
}) {
if (count === null) return null;
if (count === null || count <= 0) return null;
return (
<View style={styles.badge}>