TP-77706 Docs fix
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user