From 75081c9487aac07ffbb92a81b4c12e89489abe71 Mon Sep 17 00:00:00 2001 From: hayao Date: Tue, 18 Jun 2024 01:02:58 +0900 Subject: [PATCH] Disable: old component --- src/app/(hayao)/playground/niconico/page.tsx | 82 ++++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/src/app/(hayao)/playground/niconico/page.tsx b/src/app/(hayao)/playground/niconico/page.tsx index cd6d351..33d017b 100644 --- a/src/app/(hayao)/playground/niconico/page.tsx +++ b/src/app/(hayao)/playground/niconico/page.tsx @@ -43,49 +43,49 @@ const Header = () => ( ); -export function Niconico() { - const [search, setSearch] = useSearch(); - const [musicOnly, setMusicOnly] = useState(false); +// export function Niconico() { +// const [search, setSearch] = useSearch(); +// const [musicOnly, setMusicOnly] = useState(false); - const info = useVideoList(); +// const info = useVideoList(); - const header = useMemo(() =>
, []); +// const header = useMemo(() =>
, []); - return ( - - Loading...}> -
- {header} -
- setSearch(e.target.value)} className="w-full" /> - - setMusicOnly(e.target.checked)} /> - -
-
+// return ( +// +// Loading...}> +//
+// {header} +//
+// setSearch(e.target.value)} className="w-full" /> +// +// setMusicOnly(e.target.checked)} /> +// +//
+//
-
    - {info && - Array.from(info?.values()) +//
      +// {info && +// Array.from(info?.values()) - .filter((v) => search.every((s) => v.title.includes(s))) - .filter((v) => !musicOnly || v.cT === "music") - .map((v) => { - return ( -
    • - - {v.title} - -
    • - ); - })} -
    - - - ); -} +// .filter((v) => search.every((s) => v.title.includes(s))) +// .filter((v) => !musicOnly || v.cT === "music") +// .map((v) => { +// return ( +//
  • +// +// {v.title} +// +//
  • +// ); +// })} +//
+//
+//
+// ); +// }