1
0
Fork 0

typing fixes

This commit is contained in:
Matthias Kretschmann 2024-03-12 21:22:44 +00:00
parent 339ec44098
commit c21f6e2410
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 7 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export function Conversion(): ReactElement | null {
setEuro(euro)
}, [selectedToken?.price, amount])
return selectedToken?.price?.usd ? (
return selectedToken?.price?.usd !== 0 ? (
<div
className={styles.conversion}
title="Value in USD & EUR at current spot price for selected token on Coingecko."

View File

@ -132,6 +132,7 @@ const faviconSvg = await getImage({ src: faviconSvgSrc, format: 'svg' })
async
src={UMAMI_SCRIPT_URL}
data-website-id={UMAMI_WEBSITE_ID}
is:inline
/>
</>
)

View File

@ -49,4 +49,8 @@ const schema = datePublished
}
---
<script type="application/ld+json" set:html={JSON.stringify(schema)} />
<script
type="application/ld+json"
set:html={JSON.stringify(schema)}
is:inline
/>