Fix: remove invalid form attribute (#3210)

pull/3211/head
shamoon 9 months ago committed by GitHub
parent dd819ad677
commit 29447c55ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,11 +2,7 @@ import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
return (
<form
type="button"
onSubmit={callback}
className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}
>
<form onSubmit={callback} className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}>
{getInnerBlock(children)}
{getBottomBlock(children)}
</form>

Loading…
Cancel
Save