chore: lint and fmt

This commit is contained in:
Julien Calixte
2026-03-28 09:38:55 +01:00
parent 8e8706e258
commit 5f48aa5690
108 changed files with 726 additions and 680 deletions

View File

@@ -1,14 +1,15 @@
<script setup lang="ts">
import { computed } from "vue"
import { useRoute, useRouter } from "vue-router"
import HomeButton from "@/components/HomeButton.vue"
import PublicNoteList from "@/components/PublicNoteList.vue"
import SignInAtproto from "@/components/SignInAtproto.vue"
import { useATProtoLogin } from "@/hooks/useATProtoLogin.hook"
import { useFollows } from "@/hooks/useFollows.hook"
import { useFollowingNoteList } from "@/hooks/useFollowingNoteList.hook"
import { useFollows } from "@/hooks/useFollows.hook"
import { usePublicNoteList } from "@/hooks/usePublicNoteList.hook"
import { toShortDid } from "@/modules/atproto/shortDid"
import { computed } from "vue"
import { useRoute, useRouter } from "vue-router"
const route = useRoute()
const router = useRouter()
@@ -20,8 +21,8 @@ const tab = computed<"all" | "following">({
get: () => (route.query.tab === "following" ? "following" : "all"),
set: (value) =>
router.replace({
query: { ...route.query, tab: value === "all" ? undefined : value },
}),
query: { ...route.query, tab: value === "all" ? undefined : value }
})
})
const followingEnabled = computed(() => tab.value === "following")
@@ -65,7 +66,7 @@ const following = useFollowingNoteList(follows, followingEnabled)
v-if="all.getAuthor(note.did)"
:to="{
name: 'PublicNoteListByDidView',
params: { shortDid: toShortDid(note.did) },
params: { shortDid: toShortDid(note.did) }
}"
class="link link-hover"
>
@@ -90,7 +91,7 @@ const following = useFollowingNoteList(follows, followingEnabled)
v-if="following.getAuthor(note.did)"
:to="{
name: 'PublicNoteListByDidView',
params: { shortDid: toShortDid(note.did) },
params: { shortDid: toShortDid(note.did) }
}"
class="link link-hover"
>