From e0acf6e5a9fe4ec36fe4a0c0f7de36425bb6a583 Mon Sep 17 00:00:00 2001 From: truph01 Date: Wed, 19 Jun 2024 11:13:10 +0700 Subject: [PATCH 1/3] Fix: Vendor toggle style --- .../qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/workspace/accounting/qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx b/src/pages/workspace/accounting/qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx index 5ab28f80db2f..d18edd0489b8 100644 --- a/src/pages/workspace/accounting/qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx +++ b/src/pages/workspace/accounting/qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx @@ -65,6 +65,7 @@ function QuickbooksCompanyCardExpenseAccountPage({policy}: WithPolicyConnections {nonReimbursableExpensesExportDestination === CONST.QUICKBOOKS_NON_REIMBURSABLE_EXPORT_ACCOUNT_TYPE.VENDOR_BILL && ( <> Date: Wed, 19 Jun 2024 11:47:26 +0700 Subject: [PATCH 2/3] Fix: Send button does not response --- src/pages/home/report/ReportActionCompose/SendButton.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionCompose/SendButton.tsx b/src/pages/home/report/ReportActionCompose/SendButton.tsx index c505eb0e32e7..2c094b36e766 100644 --- a/src/pages/home/report/ReportActionCompose/SendButton.tsx +++ b/src/pages/home/report/ReportActionCompose/SendButton.tsx @@ -8,6 +8,7 @@ import Tooltip from '@components/Tooltip'; import useLocalize from '@hooks/useLocalize'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; +import useWindowDimensions from '@hooks/useWindowDimensions'; import CONST from '@src/CONST'; type SendButtonProps = { @@ -22,6 +23,7 @@ function SendButton({isDisabled: isDisabledProp, handleSendMessage}: SendButtonP const theme = useTheme(); const styles = useThemeStyles(); const {translate} = useLocalize(); + const {isSmallScreenWidth} = useWindowDimensions(); const Tap = Gesture.Tap().onEnd(() => { handleSendMessage(); @@ -33,7 +35,12 @@ function SendButton({isDisabled: isDisabledProp, handleSendMessage}: SendButtonP // Keep focus on the composer when Send message is clicked. onMouseDown={(e) => e.preventDefault()} > - + [ From e769861d7e8263308ee305dc0bf7c380c9ac859f Mon Sep 17 00:00:00 2001 From: truph01 Date: Wed, 19 Jun 2024 11:48:32 +0700 Subject: [PATCH 3/3] Fix: Revert change --- src/pages/home/report/ReportActionCompose/SendButton.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/pages/home/report/ReportActionCompose/SendButton.tsx b/src/pages/home/report/ReportActionCompose/SendButton.tsx index 2c094b36e766..c505eb0e32e7 100644 --- a/src/pages/home/report/ReportActionCompose/SendButton.tsx +++ b/src/pages/home/report/ReportActionCompose/SendButton.tsx @@ -8,7 +8,6 @@ import Tooltip from '@components/Tooltip'; import useLocalize from '@hooks/useLocalize'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; -import useWindowDimensions from '@hooks/useWindowDimensions'; import CONST from '@src/CONST'; type SendButtonProps = { @@ -23,7 +22,6 @@ function SendButton({isDisabled: isDisabledProp, handleSendMessage}: SendButtonP const theme = useTheme(); const styles = useThemeStyles(); const {translate} = useLocalize(); - const {isSmallScreenWidth} = useWindowDimensions(); const Tap = Gesture.Tap().onEnd(() => { handleSendMessage(); @@ -35,12 +33,7 @@ function SendButton({isDisabled: isDisabledProp, handleSendMessage}: SendButtonP // Keep focus on the composer when Send message is clicked. onMouseDown={(e) => e.preventDefault()} > - + [