Skip to content

Commit

Permalink
hotfix: #391 change pendingPeople api function
Browse files Browse the repository at this point in the history
  • Loading branch information
sean2337 committed Sep 14, 2024
1 parent 901e017 commit 3964d45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { AnalysisContainer } from "@/component/retrospect/analysis/Analysis";
import { PersonalForm } from "@/component/retrospect/analysis/PersonalForm.tsx";
import { QuestionForm } from "@/component/retrospect/analysis/QuestionForm.tsx";
import { useGetAnalysisAnswer } from "@/hooks/api/retrospect/analysis/useGetAnalysisAnswer.ts";
import { useApiGetSpace } from "@/hooks/api/space/useApiGetSpace";
import { useApiGetSpacePrivate } from "@/hooks/api/space/useGetSpace";
import { useTabs } from "@/hooks/useTabs";
import { DualToneLayout } from "@/layout/DualToneLayout";
import { EmptyList } from "@/component/common/empty";
Expand All @@ -30,7 +30,7 @@ export const RetrospectAnalysisPage = () => {
const spaceId = queryParams.get("spaceId") as string;
const retrospectId = queryParams.get("retrospectId") as string;
const { data, isLoading } = useGetAnalysisAnswer({ spaceId: spaceId, retrospectId: retrospectId });
const { data: spaceInfo } = useApiGetSpace(spaceId, true);
const { data: spaceInfo } = useApiGetSpacePrivate(Number(spaceId));
let pendingPeopleCnt;

if (spaceInfo && data) {
Expand Down

0 comments on commit 3964d45

Please sign in to comment.