Skip to content

Commit 3b2c40c

Browse files
committed
[fix] 파비콘 추가 및 헤더 메뉴 네이밍 수정
1 parent 469f284 commit 3b2c40c

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

public/favicon.ico

15 KB
Binary file not shown.

src/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const metadata: Metadata = {
1515
title: { default: 'SSOUL', template: 'SSOUL | %s' },
1616
metadataBase: new URL('http://www.ssoul.life'),
1717
description: '칵테일을 좋아하는 사람들을 위한 서비스',
18+
icons: '/favicon.ico',
1819
};
1920

2021
export default function RootLayout({

src/domains/recommend/components/bot/BotMessage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function BotMessage({
3434

3535
const handleOptionChange = (step: number, value: string) => {
3636
setSelectedOptions((prev) => ({ ...prev, [step]: value }));
37-
onSelectedOption?.(value); // 부모로 단일 값 전달
37+
onSelectedOption?.(value);
3838
};
3939

4040
return (
@@ -70,11 +70,11 @@ function BotMessage({
7070
{/* radio */}
7171
{msg.type === 'RADIO_OPTIONS' && msg.stepData?.options?.length ? (
7272
<BotOptions
73-
options={msg.stepData.options} // stepData와 options가 존재하는 게 보장됨
73+
options={msg.stepData.options}
7474
step={msg.stepData.currentStep ?? 0}
7575
value={selectedOptions[msg.stepData.currentStep ?? 0] ?? ''}
7676
onChange={(val) => handleOptionChange(msg.stepData?.currentStep ?? 0, val)}
77-
disabled={currentStep ? currentStep > (msg.stepData.currentStep ?? 0) : false}
77+
disabled={currentStep !== undefined && currentStep > msg.stepData.currentStep!}
7878
/>
7979
) : null}
8080
</div>

src/shared/utills/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const navItem = [
2-
{ href: '/recipe', label: '칵테일 찾기' },
2+
{ href: '/recipe', label: '칵테일 레시피' },
33
{ href: '/recommend', label: '취향추천받기' },
44
{ href: '/community', label: '커뮤니티' },
55
{

0 commit comments

Comments
 (0)