Skip to content

Commit

Permalink
Remove empty arrow function.
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnkampf committed Feb 26, 2024
1 parent d833496 commit 5525fab
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/client/modules/Tasks/TaskDetails/TaskButtons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ export const TaskButtons = ({ task, returnUrl }) => (
flashMessage={() => 'Task marked as complete'}
submitButtonLabel="Mark as complete"
initialValues={task}
>
{() => <></>}
</Form>
/>
)}
<ButtonWrapper>
{!task.archived && task.status == STATUS.ACTIVE && (
Expand Down Expand Up @@ -91,9 +89,7 @@ export const TaskButtons = ({ task, returnUrl }) => (
flashMessage={() => 'Task deleted'}
submitButtonLabel="Delete task"
initialValues={task}
>
{() => <></>}
</Form>
/>
</DeleteTaskWrapper>
)}
<ButtonWrapper>
Expand Down

0 comments on commit 5525fab

Please sign in to comment.