From 2a5f0cbd5759aa6479316ccb483f6f840d78471a Mon Sep 17 00:00:00 2001 From: Ruidy Date: Thu, 15 Jul 2021 18:35:42 +0200 Subject: [PATCH] feat: sent confirmation component --- src/pages/bill/billSent.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/pages/bill/billSent.tsx diff --git a/src/pages/bill/billSent.tsx b/src/pages/bill/billSent.tsx new file mode 100644 index 0000000..3f957be --- /dev/null +++ b/src/pages/bill/billSent.tsx @@ -0,0 +1,18 @@ +import { Button, Result } from 'antd'; +import { useHistory } from 'react-router-dom'; + +export function BillSent() { + const history = useHistory(); + return ( + history.push('/')}> + Go Back Home + + ]} + /> + ); +}