aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/components/Transactions/views.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-11-22 13:31:11 -0300
committerSebastian <sebasjm@gmail.com>2023-11-22 13:31:24 -0300
commit4028baaa968d4ed6991a1bd50e68afb0a9565b44 (patch)
tree4aaf5209bfd2d6a6c3a8240927cadb0373a9b705 /packages/demobank-ui/src/components/Transactions/views.tsx
parentbd37a0b04123d734e1e3fae105f0d9c24279629f (diff)
downloadwallet-core-4028baaa968d4ed6991a1bd50e68afb0a9565b44.tar.xz
cashout
Diffstat (limited to 'packages/demobank-ui/src/components/Transactions/views.tsx')
-rw-r--r--packages/demobank-ui/src/components/Transactions/views.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/components/Transactions/views.tsx b/packages/demobank-ui/src/components/Transactions/views.tsx
index 47daf8963..72dd43415 100644
--- a/packages/demobank-ui/src/components/Transactions/views.tsx
+++ b/packages/demobank-ui/src/components/Transactions/views.tsx
@@ -98,8 +98,8 @@ export function ReadyView({ transactions, onNext, onPrev }: State.Ready): VNode
</dl>
</td>
<td data-negative={item.negative ? "true" : "false"}
- class="hidden sm:table-cell px-3 py-3.5 text-sm text-gray-500 data-[negative=false]:text-green-600 data-[negative=true]:text-red-600">
- {item.amount ? (<RenderAmount value={item.amount} negative={item.negative} />
+ class="hidden sm:table-cell px-3 py-3.5 text-sm text-gray-500 ">
+ {item.amount ? (<RenderAmount value={item.amount} negative={item.negative} withColor />
) : (
<span style={{ color: "grey" }}>&lt;{i18n.str`invalid value`}&gt;</span>
)}