diff --git a/suite-native/notifications/src/components/TransactionNotification.tsx b/suite-native/notifications/src/components/TransactionNotification.tsx index a789b586e4e..6f0be388f77 100644 --- a/suite-native/notifications/src/components/TransactionNotification.tsx +++ b/suite-native/notifications/src/components/TransactionNotification.tsx @@ -88,7 +88,7 @@ export const TransactionNotification = ({ ); const transactionTargetAddress = useSelector((state: TransactionsRootState) => - selectTransactionFirstTargetAddress(state, txid, accountKey ?? ''), + selectTransactionFirstTargetAddress(state, accountKey ?? '', txid), ); const handleRemoveNotification = () => dispatch(notificationsActions.close(notificationId)); diff --git a/suite-native/transactions/src/components/TransactionDetail/TransactionDetailData.tsx b/suite-native/transactions/src/components/TransactionDetail/TransactionDetailData.tsx index ee8c8b84155..6c3f008678a 100644 --- a/suite-native/transactions/src/components/TransactionDetail/TransactionDetailData.tsx +++ b/suite-native/transactions/src/components/TransactionDetail/TransactionDetailData.tsx @@ -40,7 +40,7 @@ export const TransactionDetailData = ({ const { applyStyle } = useNativeStyles(); const transactionBlockTime = useSelector((state: TransactionsRootState) => - selectTransactionBlockTimeById(state, transaction.txid, accountKey), + selectTransactionBlockTimeById(state, accountKey, transaction.txid), ); const isPhishingTransaction = useSelector( (state: TokenDefinitionsRootState & TransactionsRootState) => diff --git a/suite-native/transactions/src/components/TransactionDetail/TransactionDetailInputsSheet.tsx b/suite-native/transactions/src/components/TransactionDetail/TransactionDetailInputsSheet.tsx index c8ed7c07520..882de6bfbdf 100644 --- a/suite-native/transactions/src/components/TransactionDetail/TransactionDetailInputsSheet.tsx +++ b/suite-native/transactions/src/components/TransactionDetail/TransactionDetailInputsSheet.tsx @@ -67,7 +67,7 @@ export const TransactionDetailInputsSheet = ({ const { translate } = useTranslate(); const transactionTransfers = useSelector( (state: TransactionsRootState & TokenDefinitionsRootState) => - selectTransactionInputAndOutputTransfers(state, txid, accountKey), + selectTransactionInputAndOutputTransfers(state, accountKey, txid), ); if (G.isNull(transactionTransfers)) return null; diff --git a/suite-native/transactions/src/components/TransactionsList/TransactionListItemContainer.tsx b/suite-native/transactions/src/components/TransactionsList/TransactionListItemContainer.tsx index 471e24e913b..28858cf6cc3 100644 --- a/suite-native/transactions/src/components/TransactionsList/TransactionListItemContainer.tsx +++ b/suite-native/transactions/src/components/TransactionsList/TransactionListItemContainer.tsx @@ -149,7 +149,7 @@ export const TransactionListItemContainer = ({ const { DateTimeFormatter } = useFormatters(); const transactionBlockTime = useSelector((state: TransactionsRootState) => - selectTransactionBlockTimeById(state, txid, accountKey), + selectTransactionBlockTimeById(state, accountKey, txid), ); const isTransactionPending = useSelector((state: TransactionsRootState) =>