diff --git a/src/pages/settings/AboutPage/ConsolePage.tsx b/src/pages/settings/AboutPage/ConsolePage.tsx index eb9b13608039..21ce3a7907cc 100644 --- a/src/pages/settings/AboutPage/ConsolePage.tsx +++ b/src/pages/settings/AboutPage/ConsolePage.tsx @@ -215,6 +215,7 @@ function ConsolePage({capturedLogs, shouldStoreLogs}: ConsolePageProps) { title={translate('initialSettingsPage.debugConsole.shareLog')} isVisible={isLimitModalVisible} onConfirm={() => setIsLimitModalVisible(false)} + onCancel={() => setIsLimitModalVisible(false)} prompt={translate('initialSettingsPage.debugConsole.logSizeTooLarge', { size: CONST.API_ATTACHMENT_VALIDATIONS.MAX_SIZE / 1024 / 1024, })} diff --git a/src/pages/workspace/distanceRates/PolicyDistanceRateDetailsPage.tsx b/src/pages/workspace/distanceRates/PolicyDistanceRateDetailsPage.tsx index 00204d1e40c7..8f4e274b3d86 100644 --- a/src/pages/workspace/distanceRates/PolicyDistanceRateDetailsPage.tsx +++ b/src/pages/workspace/distanceRates/PolicyDistanceRateDetailsPage.tsx @@ -183,6 +183,7 @@ function PolicyDistanceRateDetailsPage({policy, route}: PolicyDistanceRateDetail /> setIsWarningModalVisible(false)} + onCancel={() => setIsWarningModalVisible(false)} isVisible={isWarningModalVisible} title={translate('workspace.distanceRates.oopsNotSoFast')} prompt={translate('workspace.distanceRates.workspaceNeeds')} diff --git a/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx b/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx index c13538d45d4c..0b2e83f458ff 100644 --- a/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx +++ b/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx @@ -338,6 +338,7 @@ function PolicyDistanceRatesPage({ )} setIsWarningModalVisible(false)} + onCancel={() => setIsWarningModalVisible(false)} isVisible={isWarningModalVisible} title={translate('workspace.distanceRates.oopsNotSoFast')} prompt={translate('workspace.distanceRates.workspaceNeeds')}