Skip to content

Commit a7cf7b4

Browse files
committed
feat: ControlBar에서 onLogin 및 userName prop을 필수로 변경
1 parent 5c6f604 commit a7cf7b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/components/header/ControlBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { cva } from 'class-variance-authority';
44

55
interface ControlBarProps {
66
isLoggedIn: boolean;
7-
onLogin?: () => void;
8-
userName?: string;
7+
onLogin: () => void;
8+
userName: string;
99
className?: string;
1010
}
1111

0 commit comments

Comments
 (0)