Skip to content

Commit

Permalink
chore: 컨벤션에 맞게 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yarimu committed Nov 17, 2024
1 parent a6628be commit 92cecbe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/juniorPromise/components/SeniorSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ export const SeniorSearch = (props: SeniorSearchPropTypes) => {
<LineWrapper>
<Line292Ic />
</LineWrapper>
<StyledResetIc onClick={handleReset} />
<ResetIcon onClick={handleReset} />
</BtnLayout>
<SelectedChipList $chipFieldName={chipFieldName} $chipPositionName={chipPositionName}>
{chipFieldName.map((field, fieldId) => (
<Chip key={fieldId}>
{field}
<CloseButton onClick={() => handleDeleteFieldChip(field)}>
<CloseIcon onClick={() => handleDeleteFieldChip(field)}>
<CloseIc />
</CloseButton>
</CloseIcon>
</Chip>
))}
{chipPositionName.map((position, positionId) => (
<Chip key={positionId}>
{position}
<CloseButton onClick={() => handleDeletePositionChip(position)}>
<CloseIcon onClick={() => handleDeletePositionChip(position)}>
<CloseIc />
</CloseButton>
</CloseIcon>
</Chip>
))}
</SelectedChipList>
Expand Down Expand Up @@ -136,7 +136,7 @@ const Chip = styled.div`
color: ${({ theme }) => theme.colors.grayScaleDG};
`;

const CloseButton = styled(CloseIc)`
const CloseIcon = styled(CloseIc)`
padding: 0.4962rem 0.4839rem 0.4962rem 0.5084rem;
cursor: pointer;
Expand All @@ -146,6 +146,6 @@ const LineWrapper = styled.div`
padding-left: 13.7rem;
`;

const StyledResetIc = styled(ResetIc)`
const ResetIcon = styled(ResetIc)`
cursor: pointer;
`;

0 comments on commit 92cecbe

Please sign in to comment.