diff --git a/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx b/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx index 12adb3a25b..927aee48ae 100644 --- a/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx +++ b/src/apps/menu/menu-logged-in/MenuLoggedInContent.tsx @@ -64,7 +64,7 @@ const MenuLoggedInContent: FC = ({ pageSize }) => { const [loansSoonOverdue, setLoansSoonOverdue] = useState(0); const [reservationsReadyForPickup, setReservationsReadyForPickup] = useState(0); - const { menuViewYourProfileTextUrl, menuLogOutUrl } = useUrls(); + const { menuViewYourProfileTextUrl, logoutUrl } = useUrls(); // Set user data useEffect(() => { @@ -171,7 +171,7 @@ const MenuLoggedInContent: FC = ({ pageSize }) => {
{t("menuLogOutText")} diff --git a/src/apps/menu/menu.dev.tsx b/src/apps/menu/menu.dev.tsx index c112278358..157d7b9d06 100644 --- a/src/apps/menu/menu.dev.tsx +++ b/src/apps/menu/menu.dev.tsx @@ -124,7 +124,7 @@ export default { defaultValue: "Profile links", control: { type: "text" } }, - menuLogOutUrl: { + logoutUrl: { defaultValue: "/Logout", control: { type: "text" } }, diff --git a/src/apps/menu/menu.entry.tsx b/src/apps/menu/menu.entry.tsx index c510b9635b..1f229c65bd 100644 --- a/src/apps/menu/menu.entry.tsx +++ b/src/apps/menu/menu.entry.tsx @@ -28,7 +28,7 @@ export interface MenuProps { menuLogOutText: string; loansSoonOverdueText: string; loansOverdueText: string; - menuLogOutUrl: string; + logoutUrl: string; thresholdConfig: string; feeListDaysText: string; menuLoginText: string;