diff --git a/packages/client/src/components/mfm.ts b/packages/client/src/components/mfm.ts index 6f1b4256dd..3ded57e1a8 100644 --- a/packages/client/src/components/mfm.ts +++ b/packages/client/src/components/mfm.ts @@ -367,11 +367,7 @@ export default defineComponent({ MkA, { key: Math.random(), - to: this.isNote - ? `/tags/${encodeURIComponent(token.props.hashtag)}` - : `/explore/tags/${encodeURIComponent( - token.props.hashtag, - )}`, + to: `/tags/${encodeURIComponent(token.props.hashtag)}`, style: "color:var(--hashtag);", }, `#${token.props.hashtag}`, diff --git a/packages/client/src/pages/explore.users.vue b/packages/client/src/pages/explore.users.vue index 378801532c..73caf4b98c 100644 --- a/packages/client/src/pages/explore.users.vue +++ b/packages/client/src/pages/explore.users.vue @@ -80,14 +80,14 @@ {{ tag.tag }} {{ tag.tag }} diff --git a/packages/client/src/pages/explore.vue b/packages/client/src/pages/explore.vue index 0915d6ac85..e3c6774acf 100644 --- a/packages/client/src/pages/explore.vue +++ b/packages/client/src/pages/explore.vue @@ -39,7 +39,6 @@ import { Virtual } from "swiper"; import { Swiper, SwiperSlide } from "swiper/vue"; import XFeatured from "./explore.featured.vue"; import XUsers from "./explore.users.vue"; -import type MkFolder from "@/components/MkFolder.vue"; import { definePageMetadata } from "@/scripts/page-metadata"; import { deviceKind } from "@/scripts/device-kind"; import { i18n } from "@/i18n"; @@ -47,23 +46,10 @@ import { defaultStore } from "@/store"; import "swiper/scss"; import "swiper/scss/virtual"; -const props = defineProps<{ - tag?: string; -}>(); - const tabs = ["featured", "users"]; let tab = $ref(tabs[0]); watch($$(tab), () => syncSlide(tabs.indexOf(tab))); -let tagsEl = $ref>(); - -watch( - () => props.tag, - () => { - if (tagsEl) tagsEl.toggleContent(props.tag == null); - } -); - const headerActions = $computed(() => []); const headerTabs = $computed(() => [ diff --git a/packages/client/src/pages/tag.vue b/packages/client/src/pages/tag.vue index 390b6a0baa..38ba1e106d 100644 --- a/packages/client/src/pages/tag.vue +++ b/packages/client/src/pages/tag.vue @@ -1,24 +1,58 @@