Skip to content

Commit 3e81258

Browse files
committed
👮‍♀️ 조건절 체크 강화
1 parent e9dba13 commit 3e81258

File tree

1 file changed

+3
-2
lines changed
  • packages/triple-design-system/src/elements

1 file changed

+3
-2
lines changed

packages/triple-design-system/src/elements/image.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const ImageOverlay = styled.div<{
7575
`};
7676
7777
${({ overlayType = 'gradient' }) =>
78-
overlayType == 'gradient' &&
78+
overlayType === 'gradient' &&
7979
css`
8080
background-image: linear-gradient(
8181
to bottom,
@@ -85,7 +85,8 @@ const ImageOverlay = styled.div<{
8585
`};
8686
8787
${({ overlayType }) =>
88-
overlayType == 'dark' &&
88+
overlayType &&
89+
overlayType === 'dark' &&
8990
css`
9091
background-color: rgba(0, 0, 0, 0.8);
9192
`};

0 commit comments

Comments
 (0)