Add missing return on button

This commit is contained in:
Fabian Stamm 2020-04-10 19:59:51 +02:00
parent 3dbbc5b67a
commit 4cae31a72d
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/theme-preact", "name": "@hibas123/theme-preact",
"version": "1.0.2", "version": "1.0.4",
"description": "", "description": "",
"main": "out/index.js", "main": "out/index.js",
"dependencies": { "dependencies": {

View File

@ -39,7 +39,9 @@ export default function Button({
break; break;
} }
<button className={cl} {...props}> return (
{children} <button className={cl} {...props}>
</button>; {children}
</button>
);
} }