Fix button and link executions
This commit is contained in:
parent
789c5ab26a
commit
4ad42312b1
8 changed files with 94 additions and 69 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import React from "react";
|
||||
|
||||
import RoundedContainer from "./RoundedContainer";
|
||||
import Button from "./Button";
|
||||
|
||||
export default function Form({
|
||||
action,
|
||||
|
|
@ -17,7 +18,7 @@ export default function Form({
|
|||
<form action={action}>
|
||||
<RoundedContainer slim={false}>
|
||||
{children}
|
||||
<button type="submit">{submitText}</button>
|
||||
<Button title={submitText} type="submit"></Button>
|
||||
</RoundedContainer>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue