TP-77706 Docs fix

This commit is contained in:
ShriPrakashBajpai
2024-08-29 17:15:59 +05:30
parent 4ed379a624
commit fdbdeda8dc

View File

@@ -20,9 +20,9 @@ const AgentIdCardDetails = ({
const agentName = useAppSelector((state) => state.user.user?.name!!);
const agentPhone = useAppSelector((state) => state.user.user?.phoneNumber);
const agencyName = useAppSelector((state) => state.profile.agencyName);
const agencyName = useAppSelector((state) => state.profile?.agencyName);
const agentEmail = useAppSelector((state) => state.user.user?.emailId);
const agencyCode = useAppSelector((state) => state.profile.agencyCode);
const agencyCode = useAppSelector((state) => state.profile?.agencyCode);
const employeeId = useAppSelector((state) => state.user?.employeeId);
const isExternalAgency = useMemo(() => checkExternalAgency(agencyName, agencyCode), [agencyName, agencyCode]);