Skip to content

Commit

Permalink
fix(Badge): [Badge] fix bug with combine classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZouYouShun committed Mar 31, 2022
1 parent 75c773e commit b81895d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/juno-core/src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import MuiBadge from '@material-ui/core/Badge';
import { capitalize } from '@material-ui/core/utils';

import {
combineClasses,
combineProps,
logInDev,
RcBaseProps,
Expand All @@ -26,7 +27,6 @@ import {
import { RcBox } from '../Box';
import { RcPresence, RcPresenceProps } from '../Presence';
import { BadgeStyle } from './styles';

import { RcBadgeClasses, useRoundBadgeOffset } from './utils';

type RcBadgeProps = {
Expand Down Expand Up @@ -114,7 +114,7 @@ const _RcBadge = forwardRef<any, RcBadgeProps>((inProps: RcBadgeProps, ref) => {
}

const classes = useMemo(
() => combineProps(RcBadgeClasses, classesProp),
() => combineClasses(RcBadgeClasses, classesProp),
[classesProp],
);

Expand Down
2 changes: 1 addition & 1 deletion sync-github.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"latestCommitSHA": "4349d99c4d1f02eb25cb7ed837547eca899e478b"
"latestCommitSHA": "086f568f00c921ca7ee2665efecb1307f8d6ed0f"
}

0 comments on commit b81895d

Please sign in to comment.