diff --git a/packages/public-header/src/public-header.stories.tsx b/packages/public-header/src/public-header.stories.tsx
index bd8c26ae35..1be2e7824b 100644
--- a/packages/public-header/src/public-header.stories.tsx
+++ b/packages/public-header/src/public-header.stories.tsx
@@ -1,6 +1,9 @@
import type { Meta, StoryFn, StoryObj } from '@storybook/react'
import { appWithTranslation } from '@titicaca/next-i18next'
-import { SessionContextProvider } from '@titicaca/react-contexts'
+import {
+ HistoryProvider,
+ SessionContextProvider,
+} from '@titicaca/react-contexts'
import { koCommonWeb } from '../../i18n/src/assets/ko/common-web'
import { jaCommonWeb } from '../../i18n/src/assets/ja/common-web'
@@ -54,14 +57,16 @@ export default {
country: 'KR',
lang: 'ko',
unregister: false,
- photo: '',
+ photo: 'https://assets.triple.guide/images/ico-default-profile.svg',
mileage: { badges: [], level: 1, point: 0 },
uid: 'random-user',
- email: '',
+ email: 'triple@triple-corp.com',
},
}}
>
-
+
+
+
),
],
@@ -70,13 +75,13 @@ export default {
export const Basic: StoryObj = {
args: {
disableAutoHide: true,
- disableSideMenu: true,
},
}
-export const SideMenu: StoryObj = {
+export const WithSideMenu: StoryObj = {
args: {
disableAutoHide: true,
+ hasSideMenu: true,
},
}
export const Categories: StoryFn = () => {
diff --git a/packages/public-header/src/public-header.tsx b/packages/public-header/src/public-header.tsx
index 1c341cdf1e..6cd822d770 100644
--- a/packages/public-header/src/public-header.tsx
+++ b/packages/public-header/src/public-header.tsx
@@ -198,21 +198,21 @@ export function PublicHeader({
{linkLabel ?? t(['nae-yeyag', '내 예약'])}
-
-
- {deeplinkPath ? (
-
- ) : null}
- {hasSideMenu ? (
-
- ) : null}
+ {deeplinkPath ? (
+
+ ) : null}
+
+ {hasSideMenu ? (
+
+ ) : null}
+