mirror of
https://github.com/rjNemo/melon_frontend
synced 2026-06-11 04:46:43 +00:00
* chore: update deps to fix CVEs * cleanup * use variable for app routes * refactor * ⬆️ react router * ⬆️ react * delete pem files
18 lines
430 B
TypeScript
18 lines
430 B
TypeScript
import { Button, Result } from 'antd';
|
|
import { useNavigate } from 'react-router-dom';
|
|
|
|
export function BillSent() {
|
|
const navigate = useNavigate();
|
|
return (
|
|
<Result
|
|
status="success"
|
|
title="Bill sent"
|
|
subTitle="The bill is on its way to your customer"
|
|
extra={[
|
|
<Button key="back" type="primary" onClick={() => navigate('/')}>
|
|
Go Back Home
|
|
</Button>
|
|
]}
|
|
/>
|
|
);
|
|
}
|