From 5525fab7c5b149be01558ac4871ed120ebe706c5 Mon Sep 17 00:00:00 2001 From: Marijn Kampf Date: Mon, 26 Feb 2024 09:01:15 +0000 Subject: [PATCH] Remove empty arrow function. --- src/client/modules/Tasks/TaskDetails/TaskButtons.jsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/client/modules/Tasks/TaskDetails/TaskButtons.jsx b/src/client/modules/Tasks/TaskDetails/TaskButtons.jsx index 42c891df8a7..3874c6f993c 100644 --- a/src/client/modules/Tasks/TaskDetails/TaskButtons.jsx +++ b/src/client/modules/Tasks/TaskDetails/TaskButtons.jsx @@ -49,9 +49,7 @@ export const TaskButtons = ({ task, returnUrl }) => ( flashMessage={() => 'Task marked as complete'} submitButtonLabel="Mark as complete" initialValues={task} - > - {() => <>} - + /> )} {!task.archived && task.status == STATUS.ACTIVE && ( @@ -91,9 +89,7 @@ export const TaskButtons = ({ task, returnUrl }) => ( flashMessage={() => 'Task deleted'} submitButtonLabel="Delete task" initialValues={task} - > - {() => <>} - + /> )}