This commit is contained in:
Flatlogic Bot 2025-05-12 16:26:14 +00:00
parent bc7afa892d
commit 8f190212ca
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -276,8 +276,8 @@ const Dashboard = () => {
Exchange Rates
</div>
<div className="mt-4 text-sm text-gray-600 dark:text-gray-500">
<div>{`1 ${exchangeData.base} = ${exchangeData.rates.USD.toFixed(4)} USD`}</div>
<div>{`1 ${exchangeData.base} = ${exchangeData.rates.EUR.toFixed(4)} EUR`}</div>
<div>{`1 ${exchangeData.base} = ${exchangeData.rates?.USD?.toFixed(4) ?? '-'} USD`}</div>
<div>{`1 ${exchangeData.base} = ${exchangeData.rates?.EUR?.toFixed(4) ?? '-'} EUR`}</div>
</div>
</div>
</div>