diff --git a/src/views/PublicNoteListView.vue b/src/views/PublicNoteListView.vue index 19e0498..4a6bb5e 100644 --- a/src/views/PublicNoteListView.vue +++ b/src/views/PublicNoteListView.vue @@ -3,8 +3,9 @@ import { computed } from "vue" import { useRoute, useRouter } from "vue-router" import HomeButton from "@/components/HomeButton.vue" +import ProfileModal from "@/components/ProfileModal.vue" import PublicNoteList from "@/components/PublicNoteList.vue" -import SignInAtproto from "@/components/SignInAtproto.vue" +import UserPill from "@/components/UserPill.vue" import { useATProtoLogin } from "@/hooks/useATProtoLogin.hook" import { useFollowingNoteList } from "@/hooks/useFollowingNoteList.hook" import { useFollows } from "@/hooks/useFollows.hook" @@ -29,13 +30,18 @@ const followingEnabled = computed(() => tab.value === "following") const all = usePublicNoteList() const following = useFollowingNoteList(follows, followingEnabled) + +const openProfile = () => { + ;(document.getElementById("profile_modal") as HTMLDialogElement)?.showModal() +} + +