don't show price on error
This commit is contained in:
parent
a3e928dc42
commit
ff34bd0124
@ -39,7 +39,7 @@ export default function Price () {
|
|||||||
}, [])
|
}, [])
|
||||||
const { price, fiatSymbol } = usePrice()
|
const { price, fiatSymbol } = usePrice()
|
||||||
|
|
||||||
if (!price) return null
|
if (!price || price < 0) return null
|
||||||
|
|
||||||
const handleClick = () => {
|
const handleClick = () => {
|
||||||
if (asSats === 'yep') {
|
if (asSats === 'yep') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user