From 79fcb0168342e33b8286689d1f6eb892fbe8c345 Mon Sep 17 00:00:00 2001 From: ShriPrakashBajpai Date: Thu, 29 Aug 2024 17:17:36 +0530 Subject: [PATCH] TP-77706 Docs fix --- src/screens/Profile/AgentIdCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/Profile/AgentIdCard.tsx b/src/screens/Profile/AgentIdCard.tsx index 333a4e68..632e5919 100644 --- a/src/screens/Profile/AgentIdCard.tsx +++ b/src/screens/Profile/AgentIdCard.tsx @@ -73,8 +73,8 @@ const AgentIdCard = () => { const originalImageUri = useAppSelector((state) => state.profile.originalImageUri); const optimizedImageUri = useAppSelector((state) => state.profile.optimizedImageUri); const agentName = useAppSelector((state) => state.user.user?.name!!); - const agencyName = useAppSelector((state) => state.profile.agencyName); - const agencyCode = useAppSelector((state) => state.profile.agencyCode); + const agencyName = useAppSelector((state) => state.profile?.agencyName); + const agencyCode = useAppSelector((state) => state.profile?.agencyCode);