From a49c7aefc99a1e0584cb0b3fb08d028b65dc35d9 Mon Sep 17 00:00:00 2001
From: rohan09-raj <rajrohan1914@gmail.com>
Date: Sun, 21 Aug 2022 11:55:25 +0530
Subject: Update fixes

---
 client/src/pages/Update/FinalSlip/FinalSlip.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'client/src/pages/Update/FinalSlip/FinalSlip.jsx')

diff --git a/client/src/pages/Update/FinalSlip/FinalSlip.jsx b/client/src/pages/Update/FinalSlip/FinalSlip.jsx
index ae1ea31..4212be4 100644
--- a/client/src/pages/Update/FinalSlip/FinalSlip.jsx
+++ b/client/src/pages/Update/FinalSlip/FinalSlip.jsx
@@ -4,9 +4,12 @@ import CardScanner from '../../../components/Card/CardScanner'
 import styles from './FinalSlip.module.css'
 import { Grid, Typography } from '@mui/material'
 import { useTranslation } from 'react-i18next'
+import SubmitButton from '../../../components/SubmitButton/SubmitButton'
+import { useNavigate } from 'react-router-dom'
 
 const FinalSlip = () => {
   const { t } = useTranslation()
+  const navigate = useNavigate()
   return (
     <>
       <Header subheading={t('UPDATE')} />
@@ -24,6 +27,7 @@ const FinalSlip = () => {
           </Typography>
         </Grid>
       </div>
+      <SubmitButton onClick={() => navigate('/')} />
     </>
   )
 }
-- 
cgit 

