From ec423572aaf8ecf80a409fd9a03d73b5d31e444f Mon Sep 17 00:00:00 2001
From: Blaster4385 <venkateshchaturvedi12@gmail.com>
Date: Sat, 13 Aug 2022 21:40:17 +0530
Subject: Implemented update UI

---
 client/src/pages/Home/Home.jsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'client/src/pages/Home/Home.jsx')

diff --git a/client/src/pages/Home/Home.jsx b/client/src/pages/Home/Home.jsx
index 1c638b1..85aee57 100644
--- a/client/src/pages/Home/Home.jsx
+++ b/client/src/pages/Home/Home.jsx
@@ -10,13 +10,12 @@ const Home = ({ page, setPage }) => {
     <>
       <Header subheading="Mera Aadhaar Meri Pehchan" />
       <div className={styles.card__container}>
+      <Link to="/enrollment">
           <Card
             title="Enrollment"
             image={`${process.env.PUBLIC_URL}/assets/images/enrollment.svg`}
-            onClick={(e) => {
-              setPage(0)
-            }}
           />
+          </Link>
         <Link to="/update">
           <Card
             title="Update"
-- 
cgit 

