feat: init public notes
This commit is contained in:
18
src/views/PublicNoteList.vue
Normal file
18
src/views/PublicNoteList.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<script setup lang="ts">
|
||||
import { noteRouter } from "@/modules/post/data/client"
|
||||
|
||||
const { data: notes, isLoading } = noteRouter.noteLists.get.useQuery(["notes"])
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="public-note-view" v-if="isLoading">
|
||||
<ul>
|
||||
<li v-for="note in notes">{{ note.did }} / {{ note.rkey }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.public-note-view {
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user