fix submit button
This commit is contained in:
@@ -3,7 +3,7 @@ import DependentText from "../../DependentText";
|
||||
|
||||
export default function SubmitButton(params: {id?:string}) {
|
||||
return (
|
||||
<Button submit={true}>
|
||||
<Button type="submit">
|
||||
<DependentText bool={params.id?true:false} true='Update' false='Create' />
|
||||
</Button>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user