@@ -346,15 +346,15 @@ function IOURequestStepAmount({
346346 navigateBack ( ) ;
347347 } ;
348348
349- const handleHidePickerModal = useCallback ( ( ) => {
349+ const hideCurrencyPicker = useCallback ( ( ) => {
350350 setIsCurrencyPickerVisible ( false ) ;
351351 } , [ ] ) ;
352352
353- const handleCurrencyChange = useCallback ( ( value : string ) => {
353+ const updateSelectedCurrency = useCallback ( ( value : string ) => {
354354 setSelectedCurrency ( value ) ;
355355 } , [ ] ) ;
356356
357- const handleCurrencyButtonPress = useCallback ( ( ) => {
357+ const showCurrencyPicker = useCallback ( ( ) => {
358358 setIsCurrencyPickerVisible ( true ) ;
359359 } , [ ] ) ;
360360
@@ -369,10 +369,10 @@ function IOURequestStepAmount({
369369 >
370370 < IOURequestStepCurrencyModal
371371 isPickerVisible = { isCurrencyPickerVisible }
372- hidePickerModal = { handleHidePickerModal }
372+ hidePickerModal = { hideCurrencyPicker }
373373 headerText = { translate ( 'common.selectCurrency' ) }
374374 value = { selectedCurrency }
375- onInputChange = { handleCurrencyChange }
375+ onInputChange = { updateSelectedCurrency }
376376 />
377377 < MoneyRequestAmountForm
378378 isEditing = { ! ! backTo || isEditing }
@@ -385,7 +385,7 @@ function IOURequestStepAmount({
385385 textInput . current = e ;
386386 } }
387387 shouldKeepUserInput = { transaction ?. shouldShowOriginalAmount }
388- onCurrencyButtonPress = { handleCurrencyButtonPress }
388+ onCurrencyButtonPress = { showCurrencyPicker }
389389 onSubmitButtonPress = { saveAmountAndCurrency }
390390 allowFlippingAmount = { ! isSplitBill && allowNegative }
391391 selectedTab = { iouRequestType as SelectedTabRequest }
0 commit comments