fix: show SVGs on 404 page – use href instead of xlink:href

full browser support: https://caniuse.com/mdn-svg_elements_use_href
This commit is contained in:
Ze Bateira
2021-04-08 15:16:12 +01:00
parent 37a4c9544e
commit 2f349a7270
@@ -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>