diff --git a/apps/cm/src/shared/api/client.ts b/apps/cm/src/shared/api/client.ts index cf37e6671..0ec4fdb32 100644 --- a/apps/cm/src/shared/api/client.ts +++ b/apps/cm/src/shared/api/client.ts @@ -8,4 +8,5 @@ setCookie("site-id-key", SITE_ID); export const client = Client.getInstance({ baseURL: BASE_URL, siteId: SITE_ID, + redirectOnUnauthorized: false, }); diff --git a/packages/common/components/src/ui/footer/index.tsx b/packages/common/components/src/ui/footer/index.tsx index 4df6e170b..474a9bfd7 100644 --- a/packages/common/components/src/ui/footer/index.tsx +++ b/packages/common/components/src/ui/footer/index.tsx @@ -1,4 +1,4 @@ -import { useRef } from "react"; +import { useRef, type MouseEvent } from "react"; import Autoplay from "embla-carousel-autoplay"; import { useQuery } from "@tanstack/react-query"; import { ENDPOINT } from "../../config"; @@ -80,6 +80,11 @@ export function Footer() { const plugin = useRef(Autoplay({ delay: 2000, stopOnInteraction: true })); + const handlePopupLinkClick = (event: MouseEvent) => { + event.preventDefault(); + window.open(event.currentTarget.href, "_blank", "width=940,height=800"); + }; + return (