Skip to content

Commit

Permalink
fix(CountBadge): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
duyet committed Dec 13, 2024
1 parent fab708c commit 7e1a05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/count-badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function CountBadge({
sql,
className,
variant = 'outline',
}: CountBadgeProps): Promise<JSX.Element | null> {
}: CountBadgeProps) {
if (!sql) return null

try {
Expand Down

0 comments on commit 7e1a05d

Please sign in to comment.