mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 17:09:41 +05:00
feat: add user search
This commit is contained in:
parent
048bed7085
commit
ff3753a951
2 changed files with 38 additions and 1 deletions
|
@ -10,6 +10,7 @@ import { useSearchParams } from "next/navigation";
|
|||
import { useUserStore } from "../store/auth";
|
||||
import { Button, Dropdown, Modal } from "flowbite-react";
|
||||
import { CollectionsSection } from "#/components/CollectionsSection/CollectionsSection";
|
||||
import { UserSection } from "#/components/UserSection/UserSection";
|
||||
|
||||
const fetcher = async (url: string) => {
|
||||
const res = await fetch(url);
|
||||
|
@ -243,7 +244,10 @@ export function SearchPage() {
|
|||
content={content}
|
||||
/>
|
||||
) : where == "profiles" ? (
|
||||
<>Not Implemented Yet</>
|
||||
<UserSection
|
||||
sectionTitle="Найденные Пользователи"
|
||||
content={content}
|
||||
/>
|
||||
) : (
|
||||
<ReleaseSection
|
||||
sectionTitle="Найденные релизы"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue