Skip to content

Commit

Permalink
fix: xBtn 이름 close로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
seong-hui committed Jul 10, 2024
1 parent e4e254b commit 6b995bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/SettingPage/AccountArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function AccountArea() {
</CalendarContainer>
<InputBox>
<EmailWrapper>{USERS.data.email}</EmailWrapper>
<SettingCheckBtn size="small" type="xBtn" isHover isPressed={false} isActive />
<SettingCheckBtn size="small" type="close" isHover isPressed={false} isActive />
</InputBox>
</AccountWrapper>
</AccountAreaWrapper>
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/button/settingBtn/SettingCheckBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const settingIconMap: Record<string, FunctionComponent<SVGProps<SVGSVGElement>>>
check: Icons.SettingIcons.SettingCheck2,
done: Icons.SettingIcons.SettingCheck3,
progress: Icons.SettingIcons.SettingCheck4,
xBtn: Icons.SettingX,
close: Icons.SettingX,
};
interface SettingCheckBtnProps {
size: 'small' | 'big';
type: 'complete' | 'check' | 'done' | 'progress' | 'xBtn';
type: 'complete' | 'check' | 'done' | 'progress' | 'close';
onClick?: () => void;
isHover: boolean;
isPressed: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Setting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Setting() {
<StatusTodoBtn />
<SettingCheck size="big" type="complete" isHover isPressed={false} isActive />
<SettingCheck size="big" type="complete" isHover isPressed={false} isActive />
<SettingCheck size="big" type="xBtn" isHover isPressed={false} isActive />
<SettingCheck size="big" type="close" isHover isPressed={false} isActive />
<SettingContainer>
<Wrapper>
<ProfileArea />
Expand Down

0 comments on commit 6b995bc

Please sign in to comment.