fix vue :key requirement
This commit is contained in:
parent
dac73c91df
commit
a09b87a4fd
|
@ -20,7 +20,7 @@
|
||||||
</p>
|
</p>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<SquareButton
|
<SquareButton
|
||||||
v-for="link in [...config.contact.contacts, ...config.links.socials]"
|
v-for="link in [...config.contact.contacts, ...config.links.socials]" :key="link.url"
|
||||||
:link="link.url">
|
:link="link.url">
|
||||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||||
</SquareButton>
|
</SquareButton>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<a v-for="link in [...config.contact.contacts, ...config.links.socials]"
|
<a v-for="link in [...config.contact.contacts, ...config.links.socials]" :key="link.url"
|
||||||
:href="link.url" target="_blank" rel="noopener"
|
:href="link.url" target="_blank" rel="noopener"
|
||||||
class="btn btn-outline-primary border m-1">
|
class="btn btn-outline-primary border m-1">
|
||||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
</h3>
|
</h3>
|
||||||
<p><T>support.description</T></p>
|
<p><T>support.description</T></p>
|
||||||
<p>
|
<p>
|
||||||
<a v-for="link in config.support.links"
|
<a v-for="link in config.support.links" :key="link.url"
|
||||||
:href="link.url" target="_blank" rel="noopener"
|
:href="link.url" target="_blank" rel="noopener"
|
||||||
class="btn btn-outline-primary border m-1">
|
class="btn btn-outline-primary border m-1">
|
||||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||||
|
|
Reference in New Issue