mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55:49 +00:00
fix tofixed error
This commit is contained in:
parent
a743be7c0b
commit
9777550741
17
src/App.tsx
17
src/App.tsx
@ -719,7 +719,7 @@ function App() {
|
||||
</CopyToClipboard>
|
||||
<Spacer height="10px" />
|
||||
{ltcBalanceLoading && <CircularProgress color="success" size={16} />}
|
||||
{ltcBalance && !ltcBalanceLoading && (
|
||||
{ltcBalance && !isNaN(+ltcBalance) && !ltcBalanceLoading && (
|
||||
<Box sx={{
|
||||
gap: '10px',
|
||||
display: 'flex',
|
||||
@ -733,7 +733,7 @@ function App() {
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{ltcBalance?.toFixed(5)} LTC
|
||||
{ltcBalance} LTC
|
||||
</TextP>
|
||||
<RefreshIcon onClick={getLtcBalanceFunc} sx={{
|
||||
fontSize: '16px',
|
||||
@ -776,7 +776,7 @@ function App() {
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{balance?.toFixed(2)} QORT
|
||||
{balance} QORT
|
||||
</TextP>
|
||||
)}
|
||||
|
||||
@ -891,7 +891,7 @@ function App() {
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{balance?.toFixed(2)} QORT
|
||||
{balance} QORT
|
||||
</TextP>
|
||||
</Box>
|
||||
<Spacer height="35px" />
|
||||
@ -960,18 +960,19 @@ function App() {
|
||||
<TextP
|
||||
sx={{
|
||||
textAlign: "center",
|
||||
lineHeight: "15px",
|
||||
fontSize: "10px",
|
||||
lineHeight: "24px",
|
||||
fontSize: "20px",
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{requestBuyOrder?.crosschainAtInfo?.qortAmount} QORT
|
||||
{+requestBuyOrder?.crosschainAtInfo?.qortAmount} QORT
|
||||
</TextP>
|
||||
<Spacer height="15px" />
|
||||
<TextP
|
||||
sx={{
|
||||
textAlign: "center",
|
||||
lineHeight: "15px",
|
||||
fontSize: "10px",
|
||||
fontSize: "14px",
|
||||
}}
|
||||
>
|
||||
FOR
|
||||
|
Loading…
x
Reference in New Issue
Block a user