]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Merge pull request #146 from taigrr/fixDuplicateKeys
authorBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 26 Oct 2020 21:02:54 +0000 (14:02 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Oct 2020 21:02:54 +0000 (14:02 -0700)
bug: Fix duplicate URL keys #145

src/components/Navbar.vue

index dea7049804aa8c7d60889d1185a17ffea6fb7a97..705077c241aed662904dc9b02e8a6512ed0595d6 100644 (file)
@@ -21,8 +21,8 @@
             <a
               class="navbar-item"
               rel="noreferrer"
-              v-for="link in links"
-              :key="link.url"
+              v-for="(link, key) in links"
+              :key="key"
               :href="link.url"
               :target="link.target"
             >