refactor: merge to single file

This commit is contained in:
lleohao
2024-09-07 14:07:05 +00:00
parent e44dbd0fa4
commit 1b0760f5af
85 changed files with 452 additions and 591 deletions

View File

@ -7,7 +7,7 @@ import { formatMemberCount } from "@/lib";
import { useTranslation } from "react-i18next";
export default function SpaceList() {
const { t } = useTranslation("space");
const { t } = useTranslation();
const { data, isLoading } = useGetSpacesQuery();
const [opened, { open, close }] = useDisclosure(false);
const [selectedSpaceId, setSelectedSpaceId] = useState<string>(null);