Skip to content

Commit 0955294

Browse files
authored
fix: 헤더 컴포넌트 빌드 에러 구문 수정
Fix/50 헤더 컴포넌트 빌드 에러 수정
2 parents cf226a7 + 98b026b commit 0955294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import IconBell from '@assets/svg/bell';
99
export default function Header() {
1010
// 실제로는 로그인 여부를 전역 상태나 context로 받아와야 함
1111
// test하려면 로그인 상태를 true로 변경
12-
const [isLoggedIn, setIsLoggedIn] = useState(false);
12+
// 빌드 에러로 인해 setIsLoggedIn 변수 앞에 _를 붙여 의도적으로 사용하지 않음을 표시
13+
const [isLoggedIn, _setIsLoggedIn] = useState(false);
1314

1415
return (
1516
<header className='fixed z-10 w-full border-b border-gray-300 bg-white'>

0 commit comments

Comments
 (0)