Skip to content

Commit

Permalink
Use button
Browse files Browse the repository at this point in the history
  • Loading branch information
gnattu committed Oct 20, 2024
1 parent 7eda53f commit 84f7cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/IconButtonElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const IconButtonElement: FunctionComponent<IProps> = ({ is, id, className, title

if (onClick !== undefined) {
return (
<a
<button
dangerouslySetInnerHTML={button}
onClick={onClick}
/>
Expand Down

0 comments on commit 84f7cf1

Please sign in to comment.