feat: complete space translation

This commit is contained in:
lleohao
2024-09-03 02:09:17 +00:00
parent 2bef37a1d0
commit b850cfe0e6
20 changed files with 127 additions and 119 deletions

View File

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