Add missing return on button
This commit is contained in:
parent
3dbbc5b67a
commit
4cae31a72d
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/theme-preact",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.4",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"dependencies": {
|
||||
|
@ -39,7 +39,9 @@ export default function Button({
|
||||
break;
|
||||
}
|
||||
|
||||
<button className={cl} {...props}>
|
||||
{children}
|
||||
</button>;
|
||||
return (
|
||||
<button className={cl} {...props}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user