stacker.news/components/fund-error.js

16 lines
404 B
JavaScript

import Link from 'next/link'
import { Button } from 'react-bootstrap'
export default function FundError ({ onClose }) {
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>
</>
)
}