Skip to content

Commit 7d3efbe

Browse files
authored
Merge pull request #13726 from ethereum/assetDownload
add svg download
2 parents 8859386 + f61c203 commit 7d3efbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/AssetDownload/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const AssetDownload = ({
2626
artistName,
2727
artistUrl,
2828
image,
29+
svgUrl,
2930
title,
3031
...props
3132
}: AssetDownloadProps) => {
@@ -66,12 +67,11 @@ const AssetDownload = ({
6667
{t("page-assets-download-download")} (
6768
{extname(imgSrc).slice(1).toUpperCase()})
6869
</ButtonLink>
69-
{/* Disables SVG due to bug: https://github.com/ethereum/ethereum-org-website/issues/12267 */}
70-
{/* {svgUrl && (
70+
{svgUrl && (
7171
<ButtonLink href={svgUrl} onClick={matomoHandler} target="_blank">
7272
{t("page-assets-download-download")} (SVG)
7373
</ButtonLink>
74-
)} */}
74+
)}
7575
</Flex>
7676
</Flex>
7777
)

0 commit comments

Comments
 (0)