fix item routes
All checks were successful
Build and Deploy Frontend / build-and-deploy (push) Successful in 7s

This commit is contained in:
2026-03-21 23:45:52 -05:00
parent 7ab03d8073
commit 3d219b8cf7
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ function logout() {
<div> <div>
<h1>Items</h1> <h1>Items</h1>
<router-link to="/user/new">Create Item</router-link> <router-link to="/item/new">Create Item</router-link>
<table> <table>
<tr v-for="item in store.items" :key="item.id"> <tr v-for="item in store.items" :key="item.id">

View File

@@ -10,8 +10,8 @@
<h3>yeah im so cool rn</h3> <h3>yeah im so cool rn</h3>
<h1>imagining what I could do with themes :o</h1> <h1>imagining what I could do with themes :o</h1>
<router-link to="/users" custom v-slot="{ navigate }"> <router-link to="/items" custom v-slot="{ navigate }">
<button @click="navigate" role="link">Users</button> <button @click="navigate" role="link">Items</button>
</router-link> </router-link>
<router-link to="/register" custom v-slot="{ navigate }"> <!-- TODO: only if token == invalid --> <router-link to="/register" custom v-slot="{ navigate }"> <!-- TODO: only if token == invalid -->