"use client"; import { doSearch } from "@/app/_lib/actions/search"; import { getLinkList } from "@/app/_lib/data/link"; import { LinkBlock } from "@/app/_ui/LinkListBox"; import { useSearchParams } from "next/navigation" import useSWR from "swr" export default function ResultBox() { const searchParams = useSearchParams() const { data } = useSWR(`${searchParams.get('wd')}`, (e) => doSearch(e)) return