mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-05 06:53:39 +01:00
Fix: remove invalid form attribute (#3210)
This commit is contained in:
parent
dd819ad677
commit
29447c55ff
@ -2,11 +2,7 @@ import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
|
|||||||
|
|
||||||
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
|
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
|
||||||
return (
|
return (
|
||||||
<form
|
<form onSubmit={callback} className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}>
|
||||||
type="button"
|
|
||||||
onSubmit={callback}
|
|
||||||
className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}
|
|
||||||
>
|
|
||||||
{getInnerBlock(children)}
|
{getInnerBlock(children)}
|
||||||
{getBottomBlock(children)}
|
{getBottomBlock(children)}
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user