diff --git a/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx b/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx index 2f5ed984af..83e2ff5f84 100644 --- a/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx +++ b/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx @@ -41,7 +41,7 @@ const MenuLoggedInContent: FC = ({ pageSize }) => { AuthenticatedPatronV6 | null | undefined >(); const [feeCount, setFeeCount] = useState(0); - const { menuViewYourProfileTextUrl, logoutUrl } = useUrls(); + const { userProfileUrl, logoutUrl } = useUrls(); // Set user data useEffect(() => { @@ -76,10 +76,10 @@ const MenuLoggedInContent: FC = ({ pageSize }) => { {userData?.patron?.name} - {t("menuViewYourProfileText")} + {t("menuUserProfileUrlText")} {showNotifications && ( diff --git a/src/apps/menu/menu.dev.tsx b/src/apps/menu/menu.dev.tsx index a3e7dd5219..7754c2887b 100644 --- a/src/apps/menu/menu.dev.tsx +++ b/src/apps/menu/menu.dev.tsx @@ -33,11 +33,11 @@ export default { defaultValue: "By", control: { type: "text" } }, - menuViewYourProfileText: { + menuUserProfileUrlText: { defaultValue: "My Account", control: { type: "text" } }, - menuViewYourProfileTextUrl: { + userProfileUrl: { defaultValue: "/YourProfile", control: { type: "text" } }, diff --git a/src/apps/menu/menu.entry.tsx b/src/apps/menu/menu.entry.tsx index 780c79da42..b54997d5e1 100644 --- a/src/apps/menu/menu.entry.tsx +++ b/src/apps/menu/menu.entry.tsx @@ -14,8 +14,8 @@ import { DeleteReservationModalArgs } from "../../core/storybook/deleteReservati import { RenewalArgs } from "../../core/storybook/renewalArgs"; export interface MenuProps { - menuViewYourProfileText: string; - menuViewYourProfileTextUrl: string; + menuUserProfileUrlText: string; + userProfileUrl: string; menuNavigationDataConfig: string; menuNotificationLoansExpiredText: string; menuNotificationLoansExpiredUrl: string;