diff --git a/src/pages/home/ReportScreen.tsx b/src/pages/home/ReportScreen.tsx index 645f508a322d..a4f1ff474228 100644 --- a/src/pages/home/ReportScreen.tsx +++ b/src/pages/home/ReportScreen.tsx @@ -29,7 +29,6 @@ import useThemeStyles from '@hooks/useThemeStyles'; import useViewportOffsetTop from '@hooks/useViewportOffsetTop'; import useWindowDimensions from '@hooks/useWindowDimensions'; import Timing from '@libs/actions/Timing'; -import Log from '@libs/Log'; import Navigation from '@libs/Navigation/Navigation'; import clearReportNotifications from '@libs/Notification/clearReportNotifications'; import Performance from '@libs/Performance'; @@ -644,18 +643,6 @@ function ReportScreen({ ); } - Log.client( - `[ReportScreen] Debug render state - ${JSON.stringify({ - reportMetadata, - shouldShowReportActionList, - isLoading, - shouldShowSkeleton, - isCurrentReportLoadedFromOnyx, - reportID: report.reportID, - reportIDFromRoute, - })}`, - ); - return ( diff --git a/src/pages/home/report/ReportActionsView.tsx b/src/pages/home/report/ReportActionsView.tsx index 6a3a7016ecec..07b67986671e 100755 --- a/src/pages/home/report/ReportActionsView.tsx +++ b/src/pages/home/report/ReportActionsView.tsx @@ -12,7 +12,6 @@ import usePrevious from '@hooks/usePrevious'; import useWindowDimensions from '@hooks/useWindowDimensions'; import DateUtils from '@libs/DateUtils'; import getIsReportFullyVisible from '@libs/getIsReportFullyVisible'; -import Log from '@libs/Log'; import type {CentralPaneNavigatorParamList} from '@libs/Navigation/types'; import * as NumberUtils from '@libs/NumberUtils'; import {generateNewRandomInt} from '@libs/NumberUtils'; @@ -307,17 +306,6 @@ function ReportActionsView({ */ const loadOlderChats = useCallback( (force = false) => { - Log.info( - `[ReportActionsView] loadOlderChats ${JSON.stringify({ - isOffline: network.isOffline, - isLoadingOlderReportActions, - isLoadingInitialReportActions, - oldestReportActionID: oldestReportAction?.reportActionID, - hasCreatedAction, - isTransactionThread: !isEmptyObject(transactionThreadReport), - })}`, - ); - // Only fetch more if we are neither already fetching (so that we don't initiate duplicate requests) nor offline. if ( !force && @@ -369,18 +357,6 @@ function ReportActionsView({ // and there are fewer than 23 items, indicating we've reached the oldest message. const isLoadingOlderReportsFirstNeeded = checkIfContentSmallerThanList() && reportActions.length > 23; - Log.info( - `[ReportActionsView] loadNewerChats ${JSON.stringify({ - isOffline: network.isOffline, - isLoadingNewerReportActions, - isLoadingInitialReportActions, - newestReportAction: newestReportAction.pendingAction, - firstReportActionID: newestReportAction?.reportActionID, - isLoadingOlderReportsFirstNeeded, - reportActionID, - })}`, - ); - if ( !force && (!reportActionID ||