Skip to content

Commit 58cddb7

Browse files
committed
refactor: simplify CloseIcon rendering in TippyCustomized component
1 parent 42843ee commit 58cddb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/TippyCustomized.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const TippyCustomized = (props: TippyCustomizedProps) => {
115115
{showCloseButton && (
116116
<div className="icon-dim-16 ml-auto">
117117
<CloseIcon
118-
className={`icon-dim-16 cursor icon-fill__white ${isWhiteTheme ? 'fcn-9' : 'fcn-0'}`}
118+
className={`icon-dim-16 cursor ${isWhiteTheme ? 'fcn-9' : 'icon-fill__white'}`}
119119
onClick={closeTippy}
120120
/>
121121
</div>

0 commit comments

Comments
 (0)