Skip to content

Commit

Permalink
refactor: 필요없는 css 값 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
hae-on committed Oct 15, 2023
1 parent 2401b6f commit 2c9dab9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions frontend/src/components/Common/SectionTitle/SectionTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@ const SectionTitle = ({ name, link }: SectionTitleProps) => {
</Button>
{link ? (
<Link as={RouterLink} to={link} block>
<ProductName size="xl" css={{ marginLeft: '20px' }}>
{name}
</ProductName>
<ProductName size="xl">{name}</ProductName>
</Link>
) : (
<ProductName size="xl" css={{ marginLeft: '20px' }}>
{name}
</ProductName>
<ProductName size="xl">{name}</ProductName>
)}
{link && <SvgIcon variant="link" width={20} height={20} />}
</SectionTitleWrapper>
Expand Down

0 comments on commit 2c9dab9

Please sign in to comment.