diff --git a/src/pages/iou/steps/MoneyRequestAmountForm.js b/src/pages/iou/steps/MoneyRequestAmountForm.js index cc918e3ee3df..92b231704ee7 100644 --- a/src/pages/iou/steps/MoneyRequestAmountForm.js +++ b/src/pages/iou/steps/MoneyRequestAmountForm.js @@ -212,6 +212,7 @@ function MoneyRequestAmountForm({amount, currency, isEditing, forwardedRef, onCu const formattedAmount = MoneyRequestUtils.replaceAllDigits(currentAmount, toLocaleDigit); const buttonText = isEditing ? translate('common.save') : translate('common.next'); + const canUseTouchScreen = DeviceCapabilities.canUseTouchScreen(); return ( @@ -257,7 +258,7 @@ function MoneyRequestAmountForm({amount, currency, isEditing, forwardedRef, onCu style={[styles.w100, styles.justifyContentEnd, styles.pageWrapper, styles.pt0]} nativeID={NUM_PAD_CONTAINER_VIEW_ID} > - {DeviceCapabilities.canUseTouchScreen() ? ( + {canUseTouchScreen ? (