refactor(pages): replace inline links with Button asChild and TabsList variant

This commit is contained in:
zetaloop
2026-02-25 14:54:15 +08:00
parent f0a8abefa5
commit 0cf2d272c9
4 changed files with 26 additions and 52 deletions
-2
View File
@@ -51,7 +51,6 @@ export default function CommunityPage() {
variant={sortMode === "latest" ? "default" : "outline"}
size="sm"
onClick={() => setSortMode("latest")}
className="h-8"
>
</Button>
@@ -59,7 +58,6 @@ export default function CommunityPage() {
variant={sortMode === "hot" ? "default" : "outline"}
size="sm"
onClick={() => setSortMode("hot")}
className="h-8"
>
</Button>