Skip to content

Commit 4e608dd

Browse files
author
Tien Nam Dao
committed
fix: update uppercase currency
1 parent 7f749ae commit 4e608dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

views/accounts/tabs/AddressTransactionTab/AddressTransaction.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const AddressTransaction = ({ transaction }: Props) => {
109109
size="2xs"
110110
value={convertBalanceToView(transaction.fee)}
111111
fixNumber={7}
112-
currency={process.env.NEXT_PUBLIC_NATIVE_TOKEN}
112+
currency={process.env.NEXT_PUBLIC_NATIVE_TOKEN?.toUpperCase()}
113113
classes="contrast-color-70"
114114
/>
115115
)}

views/transactions/TransactionRowContent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default function TransactionRowContent({
157157
size="2xs"
158158
value={convertBalanceToView(fee)}
159159
fixNumber={7}
160-
currency={process.env.NEXT_PUBLIC_NATIVE_TOKEN}
160+
currency={process.env.NEXT_PUBLIC_NATIVE_TOKEN?.toUpperCase()}
161161
classes="contrast-color-70"
162162
/>
163163
)}

0 commit comments

Comments
 (0)