Skip to content

Commit c3c4a07

Browse files
committed
remove onCurrencyButtonPress and props values
1 parent bddbd10 commit c3c4a07

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/pages/EditRequestTaxAmountPage.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ type EditRequestTaxAmountPageProps = {
2020

2121
/** Callback to fire when the Save button is pressed */
2222
onSubmit: () => void;
23-
24-
/** Callback to fire when we press on the currency */
25-
onNavigateToCurrency: () => void;
2623
};
2724

28-
function EditRequestTaxAmountPage({defaultAmount, defaultTaxAmount, defaultCurrency, onNavigateToCurrency, onSubmit}: EditRequestTaxAmountPageProps) {
25+
function EditRequestTaxAmountPage({defaultAmount, defaultTaxAmount, defaultCurrency, onSubmit}: EditRequestTaxAmountPageProps) {
2926
const {translate} = useLocalize();
3027
const textInput = useRef<BaseTextInputRef>(null);
3128

@@ -57,7 +54,6 @@ function EditRequestTaxAmountPage({defaultAmount, defaultTaxAmount, defaultCurre
5754
taxAmount={defaultTaxAmount}
5855
ref={textInput}
5956
isCurrencyPressable={false}
60-
onCurrencyButtonPress={onNavigateToCurrency}
6157
onSubmitButtonPress={onSubmit}
6258
isEditing
6359
/>

0 commit comments

Comments
 (0)