Skip to content

Commit

Permalink
CM-144: remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolkowski committed Jul 7, 2023
1 parent fc9312c commit 6c54b13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/TaskApprovementPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const useStyles = makeStyles((theme) => ({
}));

function TaskApprovementPanel({
rights,
edited,
user,
resolveTask,
Expand Down Expand Up @@ -104,7 +103,7 @@ function TaskApprovementPanel({
<Fab
color="primary"
disabled={task.status === TASK_STATUS.RECEIVED || disable}
onClick={(e) => handleButtonClick(APPROVED)}
onClick={() => handleButtonClick(APPROVED)}
>
<CheckIcon />
</Fab>
Expand All @@ -113,7 +112,7 @@ function TaskApprovementPanel({
<Fab
color="primary"
disabled={task.status === TASK_STATUS.RECEIVED || disable}
onClick={(e) => handleButtonClick(FAILED)}
onClick={() => handleButtonClick(FAILED)}
>
<ClearIcon />
</Fab>
Expand Down

0 comments on commit 6c54b13

Please sign in to comment.