Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ishpaul777 committed Nov 28, 2023
1 parent 337709b commit 1b7ea4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ function AttachmentPickerWithMenuItems({
];
}, [report, reportID, translate]);

const onPopoverMenuClose = useCallback(() => {
const onPopoverMenuClose = () => {
setMenuVisibility(false);
onMenuClosed();
}, [onMenuClosed, setMenuVisibility]);
};

const prevIsFocused = usePrevious(isFocused);

Expand Down

0 comments on commit 1b7ea4b

Please sign in to comment.