[common/components] fix: siteId 가져오는 방식 수정

This commit is contained in:
2025-08-11 12:26:17 +09:00
parent 579db080a3
commit 10abca7d35
4 changed files with 28 additions and 28 deletions
@@ -21,8 +21,8 @@ import { SearchForm } from "./search-form";
import { NoticePopover } from "./notice-popover";
const appConfig = getConfig();
const siteId = appConfig.SITE_ID ?? "";
const userId = getCookie(appConfig.AUTH_USER_ID ?? "");
const siteId = getCookie("site-id-key") ?? "";
const isLoggedIn = !!userId;
export function Header({ viewOnly }: { viewOnly?: boolean }) {