Skip to content

Commit 0a5aa07

Browse files
author
Aditya Bharadwaj
committed
Fix
1 parent 300da00 commit 0a5aa07

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/Icons.es6.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@ function AiAssist (props) {
5050
return <Icon path={path} {...props} />
5151
}
5252

53-
function Check ({ color, className, viewBox, width, height, style, checkColor }) {
54-
checkColor = checkColor ?? 'transparent';
53+
function Check ({ color, className, path, viewBox, width, height, style, checkColor }) {
5554
return (
5655
<svg className={className} width={width} height={height} viewBox={viewBox} style={style} xmlns="http://www.w3.org/2000/svg">
5756
<path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z" fill={color} />
58-
<path d="M7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z" fill={checkColor} />
57+
<path d="M7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z" fill={checkColor || 'transparent'} />
5958
</svg>
6059
)
6160
}

0 commit comments

Comments
 (0)