Fix: remove invalid form attribute (#3210)

pull/3211/head
shamoon 8 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 }) { 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…
Cancel
Save