From 7f2448efffd7daa6d0b1b34feada69067aaa7050 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Sat, 9 Sep 2023 21:29:24 +0100 Subject: [PATCH] family QR scan value changed --- src/components/FamilyAcc/Tabs/FamilyAccount.jsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/FamilyAcc/Tabs/FamilyAccount.jsx b/src/components/FamilyAcc/Tabs/FamilyAccount.jsx index aabfcec..5b7aa98 100644 --- a/src/components/FamilyAcc/Tabs/FamilyAccount.jsx +++ b/src/components/FamilyAcc/Tabs/FamilyAccount.jsx @@ -1,7 +1,10 @@ import { forwardRef } from "react"; import QRCode from "react-qr-code"; +import { useSelector } from "react-redux"; +import LoadingSpinner from "../../Spinners/LoadingSpinner"; -const FamilyAccount = forwardRef(({ familyData, myRef, handlePrint }, ref) => { +const FamilyAccount = forwardRef(({ familyData, myRef, handlePrint, loader }, ref) => { + const { userDetails } = useSelector((state) => state.userDetails); return (
{

Scan the code from mobile app

+ {loader ? +
+ +
+ : + }