diff --git a/src/components/transactions/BtcTransaction.vue b/src/components/transactions/BtcTransaction.vue index 8b0a821e1..f4331a2d2 100644 --- a/src/components/transactions/BtcTransaction.vue +++ b/src/components/transactions/BtcTransaction.vue @@ -57,13 +57,14 @@ export default defineComponent({ const { t } = useI18n() const cryptoKey = computed(() => props.crypto.toLowerCase()) + const cryptoAddress = computed(() => store.state.btc.address) const { isFetching, isError, isSuccess, data: transaction - } = useBtcTransferQuery(props.id, props.crypto) + } = useBtcTransferQuery(props.id, cryptoAddress) const status = computed(() => { if (isFetching.value) return TransactionStatus.PENDING if (isError.value) return TransactionStatus.REJECTED @@ -72,7 +73,6 @@ export default defineComponent({ return TransactionStatus.PENDING }) - const cryptoAddress = computed(() => store.state.btc.address) const partnerCryptoAddress = usePartnerCryptoAddress( cryptoAddress, transaction.value.senderId, diff --git a/src/components/transactions/DashTransaction.vue b/src/components/transactions/DashTransaction.vue index 42583a3c6..23f42b350 100644 --- a/src/components/transactions/DashTransaction.vue +++ b/src/components/transactions/DashTransaction.vue @@ -57,13 +57,14 @@ export default defineComponent({ const { t } = useI18n() const cryptoKey = computed(() => props.crypto.toLowerCase()) + const cryptoAddress = computed(() => store.state.dash.address) const { isFetching, isError, isSuccess, data: transaction - } = useDashTransferQuery(props.id, props.crypto) + } = useDashTransferQuery(props.id, cryptoAddress) const status = computed(() => { if (isFetching.value) return TransactionStatus.PENDING if (isError.value) return TransactionStatus.REJECTED @@ -72,7 +73,6 @@ export default defineComponent({ return TransactionStatus.PENDING }) - const cryptoAddress = computed(() => store.state.dash.address) const partnerCryptoAddress = usePartnerCryptoAddress( cryptoAddress, transaction.value.senderId, diff --git a/src/components/transactions/DogeTransaction.vue b/src/components/transactions/DogeTransaction.vue index 05ad744b2..1f125f734 100644 --- a/src/components/transactions/DogeTransaction.vue +++ b/src/components/transactions/DogeTransaction.vue @@ -57,13 +57,14 @@ export default defineComponent({ const { t } = useI18n() const cryptoKey = computed(() => props.crypto.toLowerCase()) + const cryptoAddress = computed(() => store.state.doge.address) const { isFetching, isError, isSuccess, data: transaction - } = useDogeTransferQuery(props.id, props.crypto) + } = useDogeTransferQuery(props.id, cryptoAddress) const status = computed(() => { if (isFetching.value) return TransactionStatus.PENDING if (isError.value) return TransactionStatus.REJECTED @@ -72,7 +73,6 @@ export default defineComponent({ return TransactionStatus.PENDING }) - const cryptoAddress = computed(() => store.state.doge.address) const partnerCryptoAddress = usePartnerCryptoAddress( cryptoAddress, transaction.value.senderId,