Skip to content

Commit

Permalink
fix ripple id
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Jun 5, 2024
1 parent 8b60fe0 commit 416fe2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/actify/src/components/Ripple/Ripple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ interface RippleProps extends React.ComponentProps<'label'> {

const Ripple = (props: RippleProps) => {
const { id, disabled = false, style, className } = props
const rippleId = id || `$actify-ripple{useId()}`
const rippleId = id || `actify-ripple${useId()}`

const [hovered, setHovered] = useState(false)
const [pressed, setPressed] = useState(false)
Expand Down

0 comments on commit 416fe2f

Please sign in to comment.