Skip to content

Commit

Permalink
fix: ensures all modal buttons are submit not submit query
Browse files Browse the repository at this point in the history
  • Loading branch information
calisio committed Aug 2, 2024
1 parent eb34688 commit 7f45afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Components/inputs/SubmitButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function SubmitButton({ errorMessage }: { errorMessage: string }) {
return (
<label className="form-control pt-4">
<input className="btn btn-primary" type="submit" />
<input className="btn btn-primary" type="submit" value="Sumbit" />
<div className="text-error text-center pt-2">{errorMessage}</div>
</label>
);
Expand Down

0 comments on commit 7f45afe

Please sign in to comment.