Skip to content

Commit

Permalink
Fix: 비로그인 시 다크모드 적용되지 않는 문제 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeppetto committed Jan 17, 2024
1 parent 08ab188 commit efdda04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Common/DropDown/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const StyledDropDownButton = styled.button<StyledDropDownButtonProp>`
color: ${({ $textColor }) => $textColor};
padding: 1rem 1.2rem;
font-size: ${({ $textSize }) => $textSize};
border: 2px solid black;
/* border: 2px solid black; */
border-radius: 1rem;
gap: 1.2rem;
`;
Expand Down
8 changes: 7 additions & 1 deletion src/Components/Common/Header/Hamburger/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ const Hamburger = () => {
'로그아웃',
isDarkMode ? '🌞 라이트모드' : '🌝 다크모드',
]
: ['홈', '포스트 작성', '검색', '로그인', '다크모드'];
: [
'홈',
'포스트 작성',
'검색',
'로그인',
isDarkMode ? '🌞 라이트모드' : '🌝 다크모드',
];

const onSelectOption = (option: string) => {
setIsDrop(!isDrop);
Expand Down

0 comments on commit efdda04

Please sign in to comment.