Fix vuejs warnings

This commit is contained in:
Chocobozzz 2019-10-24 13:24:32 +02:00
parent e661be43a9
commit 58b9807c7a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 3 additions and 4 deletions

View file

@ -44,7 +44,7 @@
</div>
<div class="tags">
<div class="tag" v-for="tag in tags">{{ tag }}</div>
<div class="tag" v-for="tag in tags" :key="tag">{{ tag }}</div>
</div>
</div>
</div>
@ -121,7 +121,6 @@
display: flex;
flex-wrap: wrap;
@media screen and (max-width: $responsive-screen) {
justify-content: center;
}

View file

@ -10,7 +10,7 @@
</div>
</template>
<b-dropdown-item v-for="(lang, locale) in $language.available" :href="buildLocaleLink(locale)">
<b-dropdown-item v-for="(lang, locale) in $language.available" :key="locale" :href="buildLocaleLink(locale)">
{{ lang }}
</b-dropdown-item>

View file

@ -90,7 +90,7 @@ main {
border-left: 0.3em solid transparent;
}
a {
p > a {
color: #000;
font-weight: $font-semibold;
border-bottom: 3px solid $orange;