This commit is contained in:
zoe 2023-08-24 21:16:28 +02:00
parent 46cc9a22a9
commit c8613a771f
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="star"></div>
<router-link :to="'/visit/' + id" class="star"></router-link>
</template>
<script lang="ts">
@ -9,6 +9,7 @@ export default defineComponent({
name: "SmallStar",
props: {
color: String,
id: Number,
},
});
</script>

View File

@ -5,6 +5,7 @@
<SmallStar
v-for="star in store.protostars"
:key="star.id"
:id="star.id"
:color="star.color"
/>
</div>