Skip to content

Commit a618363

Browse files
authored
Missing unique 🔑
Missing unique :key for menu items.
1 parent 82d0c45 commit a618363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup2/components/MainMenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<svg class="menusvg stamp" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="white" d="M99.2 86.9l-6.7-58.3c-.1-.6-.6-1.1-1.2-1.1h-6.2V12.9c0-.7-.6-1.2-1.2-1.2H64.2V5.5c0-.7-.6-1.2-1.2-1.2H37c-.7 0-1.2.6-1.2 1.2v6.2H16.2c-.7 0-1.2.6-1.2 1.2v14.6H8.7c-.6 0-1.2.5-1.2 1.1L.8 86.9c0 .4.1.7.3 1s.6.4.9.4h17.4l-.7 6c0 .4.1.7.3 1s.6.4.9.4h60c.4 0 .7-.2.9-.4s.3-.6.3-1l-.7-6H98c.4 0 .7-.2.9-.4s.4-.6.3-1zm-35-72.7h18.3v13.3h-9l-.4-3.1c-.1-.6-.6-1.1-1.2-1.1h-7.8l.1-9.1zm-26-7.4h23.5v16.5h-2.5V10.5c0-.7-.6-1.2-1.2-1.2H42c-.7 0-1.2.6-1.2 1.2v12.8h-2.5l-.1-16.5zm18.6 5v11.5H43.2V11.8h13.6zm-39.4 2.4h18.3v9.1H28c-.6 0-1.2.5-1.2 1.1l-.4 3.1h-9V14.2zm2.3 71.6H3.4L9.8 30h16.3l-6.4 55.8zm1.7 7.4l7.7-67.5h41.8l7.7 67.5H21.4zm58.9-7.4L73.9 30h16.3l6.4 55.8H80.3z"/></svg>
66
</nuxt-link>
77
<ul>
8-
<li v-for="item in menuitems">
8+
<li v-for="item in menuitems" :key="item.item">
99
<a href="#">{{ item }}</a>
1010
</li>
1111
</ul>
@@ -74,4 +74,4 @@
7474
height: 40px;
7575
margin: 5px;
7676
}
77-
</style>
77+
</style>

0 commit comments

Comments
 (0)