Skip to content

Commit c064c79

Browse files
authored
Merge pull request #381 from 10up/fix/clsx-import
Fix: Missing renamed instance of `clsx` function in counter component
2 parents 1dd4f65 + 594ecdf commit c064c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/counter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const Counter: ForwardRefExoticComponent<
169169
return (
170170
<StyledComponentContext cacheKey="tenup-component-counter">
171171
<StyledCounter
172-
className={cx('tenup--block-components__character-count', {
172+
className={clsx('tenup--block-components__character-count', {
173173
'is-over-limit': count > limit,
174174
})}
175175
ref={ref}

0 commit comments

Comments
 (0)