Merge pull request #111 from ipfs/fix/svg-on-404-page

fix: show SVGs on 404 page – use href instead of xlink:href
This commit is contained in:
Zé Bateira
2021-04-08 15:27:11 +01:00
committed by GitHub

View File

@@ -8,10 +8,7 @@
:viewBox="icon.viewBox"
>
<title v-if="!ariaHide" :id="`svg-title--${name}`">{{ title }}</title>
<use
:xlink:href="`#${icon.id}`"
xmlns:xlink="http://www.w3.org/1999/xlink"
/>
<use :href="`#${icon.id}`" />
</svg>
</template>