Skip to content

Commit

Permalink
Fix extra console.log call
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Sep 7, 2024
1 parent 8756d37 commit 4ee34df
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions frontend/src/routes/_auth.report.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,7 @@ export const ReportCreateForm = (): JSX.Element => {
<form.Subscribe
selector={(state) => [state.canSubmit, state.isSubmitting]}
children={([canSubmit, isSubmitting]) => {
console.log(canSubmit, isSubmitting);
return (
<Buttons
/*canSubmit={canSubmit}*/ canSubmit={true}
isSubmitting={isSubmitting}
reset={form.reset}
/>
);
return <Buttons canSubmit={canSubmit} isSubmitting={isSubmitting} reset={form.reset} />;
}}
/>
</Grid>
Expand Down

0 comments on commit 4ee34df

Please sign in to comment.