From 16679919af242fea0f3626e2aa4ba6b3a8de05c1 Mon Sep 17 00:00:00 2001 From: Maxim Zhiltsov Date: Fri, 31 Jan 2025 12:57:39 +0200 Subject: [PATCH] Rename function --- cvat-ui/src/components/job-item/job-actions-menu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cvat-ui/src/components/job-item/job-actions-menu.tsx b/cvat-ui/src/components/job-item/job-actions-menu.tsx index 2a33819b2518..6ed839c6fb42 100644 --- a/cvat-ui/src/components/job-item/job-actions-menu.tsx +++ b/cvat-ui/src/components/job-item/job-actions-menu.tsx @@ -33,7 +33,7 @@ function JobActionsMenu(props: Props): JSX.Element { const dispatch = useDispatch(); const history = useHistory(); - const onClickMenuWrapper = useCallback( + const onClickMenu = useCallback( (action: MenuInfo) => { if (action.key === Actions.TASK) { history.push(`/tasks/${job.taskId}`); @@ -71,7 +71,7 @@ function JobActionsMenu(props: Props): JSX.Element { return ( Go to the task Go to the project