From 9a03f50beb708ff3f69812ca473bf1a7073dcccd Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Wed, 30 Aug 2023 01:04:34 +0100 Subject: [PATCH] fix crash when using the on-screen numpad caused by improperly set forwardedRef prop --- src/components/TextInputWithCurrencySymbol/index.android.js | 4 +++- src/components/TextInputWithCurrencySymbol/index.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/TextInputWithCurrencySymbol/index.android.js b/src/components/TextInputWithCurrencySymbol/index.android.js index 7fb65257e707..e597566d6ffd 100644 --- a/src/components/TextInputWithCurrencySymbol/index.android.js +++ b/src/components/TextInputWithCurrencySymbol/index.android.js @@ -1,4 +1,5 @@ import React, {useState, useEffect} from 'react'; +import _ from 'underscore'; import BaseTextInputWithCurrencySymbol from './BaseTextInputWithCurrencySymbol'; import * as textInputWithCurrencySymbolPropTypes from './textInputWithCurrencySymbolPropTypes'; @@ -12,7 +13,8 @@ function TextInputWithCurrencySymbol(props) { return ( { if (skipNextSelectionChange) { setSkipNextSelectionChange(false); diff --git a/src/components/TextInputWithCurrencySymbol/index.js b/src/components/TextInputWithCurrencySymbol/index.js index bd4c881c55ba..f70134a2e0eb 100644 --- a/src/components/TextInputWithCurrencySymbol/index.js +++ b/src/components/TextInputWithCurrencySymbol/index.js @@ -1,4 +1,5 @@ import React from 'react'; +import _ from 'underscore'; import BaseTextInputWithCurrencySymbol from './BaseTextInputWithCurrencySymbol'; import * as textInputWithCurrencySymbolPropTypes from './textInputWithCurrencySymbolPropTypes'; @@ -6,7 +7,8 @@ function TextInputWithCurrencySymbol(props) { return ( ); }