mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-21 17:36:52 +01:00
typing fixes
This commit is contained in:
parent
339ec44098
commit
c21f6e2410
@ -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."
|
||||
|
@ -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
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
@ -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
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user