Skip to content

Commit

Permalink
feat: change default button behavior (reviewed by @teddy)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNono committed Aug 31, 2024
1 parent 9000b7d commit 4609387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UI/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Button = ({
large = false,
long = false,
veryLong = false,
onClick = () => {},
onClick = undefined, // default to undefined to avoid bugs
children = '',
type = 'button',
disabled = false,
Expand Down

0 comments on commit 4609387

Please sign in to comment.