feat : remove notice search text [no ci]

This commit is contained in:
2026-09-12 16:15:35 +07:00 Unverified
parent e3c686caed
commit 28a59a8934
9 changed files with 11 additions and 25 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
"use client";
import { searchItems } from "@/lib/search";
import { SearchNotice } from "@/components/search-notice";
import Image from "next/image";
import Link from "next/link";
@@ -59,7 +58,7 @@ export function StructuredDirectory({ guides }: { guides: GuideCard[] }) {
aria-label="ค้นหาไกด์"
/>
</InputGroup>
<SearchNotice fuzzy={search.fuzzy} />
{filtered.length ? (
<div className="grid gap-5 sm:grid-cols-2 lg:grid-cols-3">
{filtered.map((guide, index) => (
+1 -2
View File
@@ -1,6 +1,5 @@
"use client";
import { SearchNotice } from "@/components/search-notice";
import Image from "next/image";
import Link from "next/link";
@@ -395,7 +394,7 @@ export function TeamSearch({ groups }: { groups: PublicGuide["teamGroups"] }) {
return (
<div className="flex min-w-0 flex-col gap-4">
<SearchNotice fuzzy={search.fuzzy} />
{groups.length > 1 ? (
<ScrollableNav ariaLabel="เลือกเงื่อนไขทีม" className="w-full min-w-0">
<ToggleGroup aria-label="เลือกเงื่อนไขทีม" variant="outline" value={[activeCondition]} onValueChange={(values) => {