mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 06:52:41 +01:00
Update TransactionDetails.tsx
This commit is contained in:
parent
48aed4025e
commit
d0b5d279b1
1 changed files with 2 additions and 9 deletions
|
@ -103,16 +103,9 @@ const TransactionDetails = () => {
|
|||
}, [tx, txMetadata, memo, counterpartyLabel, paymentCode, saveToDisk, counterpartyMetadata]);
|
||||
|
||||
const HeaderRight = useMemo(
|
||||
() =>
|
||||
tx && (
|
||||
<HeaderRightButton
|
||||
disabled={txMetadata[tx.hash].memo === memo}
|
||||
onPress={handleOnSaveButtonTapped}
|
||||
title={loc.wallets.details_save}
|
||||
/>
|
||||
),
|
||||
() => <HeaderRightButton onPress={handleOnSaveButtonTapped} title={loc.wallets.details_save} />,
|
||||
|
||||
[tx, txMetadata, memo, handleOnSaveButtonTapped],
|
||||
[handleOnSaveButtonTapped],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue