Skip to content

Commit

Permalink
Closed submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenewald committed Oct 19, 2024
1 parent 61a3e60 commit 96d5c2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/app/dash/submit/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export default function SubmissionForm(props: { user: any }) {
});

const onSubmit: SubmitHandler<Inputs> = async data => {
Swal.fire({ title: "Submissions have closed", icon: 'warning' });
return;
const responsePromise = fetch("/api/protected/db/user/createAlgo", {
method: "POST",
body: JSON.stringify(data),
Expand Down

0 comments on commit 96d5c2d

Please sign in to comment.