Skip to content

Commit

Permalink
fix: set button type
Browse files Browse the repository at this point in the history
  • Loading branch information
ogonkov authored Jul 17, 2024
1 parent 8e4f7ea commit 55b9825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AvatarStack/AvatarStackMoreButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const AvatarStackMoreButton = React.forwardRef<
AvatarStackMoreButtonProps
>(({className, size = DEFAULT_AVATAR_SIZE, onClick, count, 'aria-label': ariaLabel}, ref) => {
return (
<button ref={ref} className={b('more-button', {size}, className)} onClick={onClick}>
<button ref={ref} type="button" className={b('more-button', {size}, className)} onClick={onClick}>

Check failure on line 24 in src/components/AvatarStack/AvatarStackMoreButton.tsx

View workflow job for this annotation

GitHub Actions / Verify Files

Replace `·ref={ref}·type="button"·className={b('more-button',·{size},·className)}·onClick={onClick}` with `⏎············ref={ref}⏎············type="button"⏎············className={b('more-button',·{size},·className)}⏎············onClick={onClick}⏎········`
<Avatar
text={`+${count}`}
size={size}
Expand Down

0 comments on commit 55b9825

Please sign in to comment.