Skip to content

Commit

Permalink
chore(alert): remove className from alert theme
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Jan 12, 2025
1 parent 6b78c9d commit e1465bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/alert/src/use-alert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ export function useAlert(originalProps: UseAlertProps) {
const baseStyles = clsx(classNames?.base, className);

const slots = useMemo(
() =>
alert({hasContent: !isEmpty(description) || !isEmpty(children), ...variantProps, className}),
() => alert({hasContent: !isEmpty(description) || !isEmpty(children), ...variantProps}),
[description, objectToDeps(variantProps)],
);

Expand Down

0 comments on commit e1465bd

Please sign in to comment.