Skip to content

Commit 235b644

Browse files
authored
Merge pull request #7386 from LucidSamuel/patch-2
Found unnecessary boolean casts - bug risk
2 parents a4a7b96 + 3dbae9d commit 235b644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AssetDownload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const AssetDownload: React.FC<IProps> = ({
105105
{children && <ImageContainer>{children}</ImageContainer>}
106106
{!children && (
107107
<ImageContainer>
108-
{!!Svg ? (
108+
{Svg ? (
109109
<Svg alt={alt} />
110110
) : (
111111
<Image image={getImage(image)} alt={alt} />

0 commit comments

Comments
 (0)