fix vue :key requirement
This commit is contained in:
parent
dac73c91df
commit
a09b87a4fd
|
@ -20,7 +20,7 @@
|
|||
</p>
|
||||
<div class="mb-3">
|
||||
<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">
|
||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||
</SquareButton>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</h2>
|
||||
|
||||
<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"
|
||||
class="btn btn-outline-primary border m-1">
|
||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||
|
@ -29,7 +29,7 @@
|
|||
</h3>
|
||||
<p><T>support.description</T></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"
|
||||
class="btn btn-outline-primary border m-1">
|
||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||
|
|
Reference in New Issue