Use button

This commit is contained in:
gnattu
2024-10-20 22:17:50 +08:00
parent 7eda53f795
commit 84f7cf1997
+1 -1
View File
@@ -43,7 +43,7 @@ const IconButtonElement: FunctionComponent<IProps> = ({ is, id, className, title
if (onClick !== undefined) {
return (
<a
<button
dangerouslySetInnerHTML={button}
onClick={onClick}
/>