diff --git a/src/pages/home/report/ReportActionCompose/SendButton.tsx b/src/pages/home/report/ReportActionCompose/SendButton.tsx index 2c094b36e76..c505eb0e32e 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()} > - + [