stacker.news/components/fund-error.js

16 lines
404 B
JavaScript
Raw Normal View History

2021-05-20 21:32:59 +00:00
import Link from 'next/link'
import { Button } from 'react-bootstrap'
2021-05-20 21:32:59 +00:00
export default function FundError ({ onClose }) {
2021-05-20 21:32:59 +00:00
return (
<>
<p className='font-weight-bolder'>you need more sats</p>
<div className='d-flex justify-content-end'>
<Link href='/wallet?type=fund'>
<Button variant='success' onClick={onClose}>fund</Button>
</Link>
</div>
</>
2021-05-20 21:32:59 +00:00
)
}