Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 7256114

Browse files
Switch from xlinkHref to href in SVGs.
This fixes an error on the svgs that were using xlinkHref and not href, which is required. xlinkHref is deprecated and its usage was removed.
1 parent 209e7e0 commit 7256114

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/asset/icon/copy-dark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ const CopyDark = props => (
1414
</Defs>
1515
<G fill="none" fillRule="evenodd">
1616
<G transform="translate(2.646 2.226)">
17-
<Use fill="#9B9B9B" xlinkHref="#a" />
17+
<Use fill="#9B9B9B" href="#a" />
1818
<Path
1919
stroke="#000"
2020
strokeWidth={2}
2121
d="M-.87-.772h12.302v16.248H-.87z"
2222
/>
2323
</G>
2424
<G transform="translate(2.646 2.226)">
25-
<Use fill="#9B9B9B" xlinkHref="#b" />
25+
<Use fill="#9B9B9B" href="#b" />
2626
<Path
2727
stroke="#000"
2828
strokeWidth={2}

src/asset/icon/copy-purple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ const CopyPurple = props => (
1414
</Defs>
1515
<G fill="none" fillRule="evenodd">
1616
<G transform="translate(2 2)">
17-
<Use fill="#57038D" xlinkHref="#a" />
17+
<Use fill="#57038D" href="#a" />
1818
<Path
1919
stroke="#A540CD"
2020
strokeWidth={2}
2121
d="M-.87-.772h12.302v16.248H-.87z"
2222
/>
2323
</G>
2424
<G transform="translate(2 2)">
25-
<Use fill="#57038D" xlinkHref="#b" />
25+
<Use fill="#57038D" href="#b" />
2626
<Path
2727
stroke="#A540CD"
2828
strokeWidth={2}

src/asset/img/textured-bg-mobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const TexturedBgMobile = props => (
3535
</Defs>
3636
<G fill="none" fillRule="evenodd">
3737
<G transform="translate(-532)">
38-
<Use fill="#D8D8D8" href="#a" xlinkHref="#a" />
38+
<Use fill="#D8D8D8" href="#a" />
3939
<G mask="url(#b)" fill="url(#c)">
4040
<Path d="M-675.395-335.927H84.662v1685.56z" />
4141
<Path d="M-515.602-335.927h760.056v1685.56z" />

src/asset/img/textured-bg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const TexturedBg = props => (
3535
</Defs>
3636
<G fill="none" fillRule="evenodd">
3737
<G>
38-
<Use fill="#D8D8D8" href="#a" xlinkHref="#a" />
38+
<Use fill="#D8D8D8" href="#a" />
3939
<G mask="url(#b)" fill="url(#c)">
4040
<Path d="M-675.395-335.927H84.662v1685.56z" />
4141
<Path d="M-515.602-335.927h760.056v1685.56z" />

0 commit comments

Comments
 (0)