mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 09:56:51 +01:00
typing fixes
This commit is contained in:
parent
339ec44098
commit
c21f6e2410
@ -26,7 +26,7 @@ export function Conversion(): ReactElement | null {
|
|||||||
setEuro(euro)
|
setEuro(euro)
|
||||||
}, [selectedToken?.price, amount])
|
}, [selectedToken?.price, amount])
|
||||||
|
|
||||||
return selectedToken?.price?.usd ? (
|
return selectedToken?.price?.usd !== 0 ? (
|
||||||
<div
|
<div
|
||||||
className={styles.conversion}
|
className={styles.conversion}
|
||||||
title="Value in USD & EUR at current spot price for selected token on Coingecko."
|
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
|
async
|
||||||
src={UMAMI_SCRIPT_URL}
|
src={UMAMI_SCRIPT_URL}
|
||||||
data-website-id={UMAMI_WEBSITE_ID}
|
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