Skip to content

Commit

Permalink
fix(ChatPreview): fix inconsistent transaction status
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Aug 5, 2024
1 parent 2524c8f commit 315b490
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/ChatPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@
</v-list-item-subtitle>

<v-list-item-subtitle v-else :class="`${className}__subtitle`">
<TransactionProvider
v-if="!isIncomingTransaction"
:tx-id="transaction.hash"
:crypto="transaction.type"
>
<TransactionProvider :tx-id="transaction.hash" :crypto="transaction.type">
<template #default="{ status }">
<v-icon v-if="!isIncomingTransaction" size="15" :icon="tsIcon(status)" />
{{ transactionDirection }} {{ currency(transaction.amount, transaction.type) }}
Expand Down

0 comments on commit 315b490

Please sign in to comment.