From 289c30a7d89c4e669373c8ea9f47580b0a15ddea Mon Sep 17 00:00:00 2001 From: karivarkey Date: Mon, 20 May 2024 13:15:38 +0100 Subject: [PATCH 1/2] fix(manageUser) : Fixed issue where mobile number was needed in managing users Fixed by removing handleBlur function in userForm.tsx --- src/modules/Dashboard/modules/ManageUsers/UserForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Dashboard/modules/ManageUsers/UserForm.tsx b/src/modules/Dashboard/modules/ManageUsers/UserForm.tsx index 28e333040..cf3fa4f2c 100644 --- a/src/modules/Dashboard/modules/ManageUsers/UserForm.tsx +++ b/src/modules/Dashboard/modules/ManageUsers/UserForm.tsx @@ -378,7 +378,7 @@ const UserForm = forwardRef( placeholder="Mobile" value={data.mobile} onChange={handleChange} - onBlur={handleBlur} + /> {errors.mobile && (
From 3558dbfa4cdd9c14e74a90703182f61bd84fa891 Mon Sep 17 00:00:00 2001 From: AFarHitman7 Date: Mon, 20 May 2024 14:25:33 +0530 Subject: [PATCH 2/2] fix(donation): added hyperlinks --- src/modules/Public/Donation/Donation.tsx | 17 +++++++++++------ .../Public/Donation/components/Footer.tsx | 6 +++++- .../Public/Donation/components/Navbar.tsx | 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/modules/Public/Donation/Donation.tsx b/src/modules/Public/Donation/Donation.tsx index 2a3cfcd2a..cb73d64e8 100644 --- a/src/modules/Public/Donation/Donation.tsx +++ b/src/modules/Public/Donation/Donation.tsx @@ -1,4 +1,5 @@ import { useEffect, useRef, useState } from "react"; +import { Link } from "react-router-dom"; import toast from "react-hot-toast"; import Footer from "./components/Footer"; import Navbar from "./components/Navbar"; @@ -207,7 +208,7 @@ const Donation = () => { } onClick={() => handleAmountClick(10000)} > - 10,000 + ₹10,000
@@ -237,7 +238,7 @@ const Donation = () => { {
diff --git a/src/modules/Public/Donation/components/Footer.tsx b/src/modules/Public/Donation/components/Footer.tsx index 6b0c441cf..977cc6df0 100644 --- a/src/modules/Public/Donation/components/Footer.tsx +++ b/src/modules/Public/Donation/components/Footer.tsx @@ -1,5 +1,6 @@ import styles from "./Footer.module.css"; import { footerData } from "../services/footerData"; +import { Link } from "react-router-dom"; import { RiWhatsappFill, RiTwitterFill, @@ -8,12 +9,15 @@ import { RiYoutubeFill, RiFacebookBoxFill } from "react-icons/ri"; + + + export default function Footer() { return (