From 53795fe3153f514e0eda6a01f6e55eeb50c94d46 Mon Sep 17 00:00:00 2001
From: rohan09-raj <rajrohan1914@gmail.com>
Date: Wed, 10 Aug 2022 23:20:20 +0530
Subject: fixed form

---
 client/src/components/SubmitButton/SubmitButton.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'client/src/components/SubmitButton/SubmitButton.jsx')

diff --git a/client/src/components/SubmitButton/SubmitButton.jsx b/client/src/components/SubmitButton/SubmitButton.jsx
index 567d923..e1ba305 100644
--- a/client/src/components/SubmitButton/SubmitButton.jsx
+++ b/client/src/components/SubmitButton/SubmitButton.jsx
@@ -1,10 +1,10 @@
 import React from 'react'
 import styles from './SubmitButton.module.css'
 
-const SubmitButton = ({ onClick }) => {
+const SubmitButton = () => {
   return (
     <>
-      <button onClick={onClick} className={styles.submit}>
+      <button className={styles.submit} type="submit">
         <img
           className={styles.submit__image}
           src={`${process.env.PUBLIC_URL}/assets/images/white-check.svg`}
-- 
cgit 

