Skip to content

Commit

Permalink
Fix tsc fail
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Apr 19, 2022
1 parent afc0bab commit 22a57d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scores-src/src/client/pages/CreateEventModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function CreateEventModal() {
helper="How many Roses points will the winner get?"
/>
<EditForm />
<Button onClick={handleSubmit} disabled={isSubmitting}>
<Button onClick={() => handleSubmit} disabled={isSubmitting}>
Create
</Button>
{submitError !== null && (
Expand Down

0 comments on commit 22a57d3

Please sign in to comment.