From 6007e6004f7398d4409dc4b551c11a00278ea65e Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Thu, 26 Oct 2023 01:46:19 -0400 Subject: [PATCH] Update ReportScreen.js --- src/pages/home/ReportScreen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js index 01215ba7b89f..f7ab1767aade 100644 --- a/src/pages/home/ReportScreen.js +++ b/src/pages/home/ReportScreen.js @@ -182,14 +182,14 @@ function ReportScreen({ const isTopMostReportId = currentReportID === getReportID(route); const didSubscribeToReportLeavingEvents = useRef(false); - const onNavigationMenuButtonClicked = useCallback(() => { + const goBack = useCallback(() => { Navigation.goBack(ROUTES.HOME, false, true); }, []); let headerView = (