Skip to content

Commit

Permalink
fix(@vtmn/svelte): fix VmntAlert with timeout 0 (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlahey committed Feb 23, 2024
1 parent fea8215 commit 998e012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
$: componentClass = cn(
'vtmn-alert',
typeof timeout === 'number' && 'show animate-delay',
typeof timeout === 'number' && timeout > 0 && 'show animate-delay',
variant && `vtmn-alert_variant--${variant}`,
className,
);
Expand Down

0 comments on commit 998e012

Please sign in to comment.