diff --git a/src/components/modal/project/UpdateModalProject.tsx b/src/components/modal/project/UpdateModalProject.tsx
index 35c1dd61..8586cb41 100644
--- a/src/components/modal/project/UpdateModalProject.tsx
+++ b/src/components/modal/project/UpdateModalProject.tsx
@@ -15,13 +15,12 @@ import { findUserByTeam } from '@services/teamService';
import useAxios from '@hooks/useAxios';
import { PROJECT_DEFAULT_ROLE, PROJECT_ROLES } from '@constants/role';
import Spinner from '@components/common/Spinner';
+import { useReadProjectUserRoleList, useReadProjectDetail } from '@hooks/query/useProjectQuery';
import type { User } from '@/types/UserType';
import type { Team } from '@/types/TeamType';
import type { TeamSearchCallback } from '@/types/SearchCallbackType';
import type { Project, ProjectForm } from '@/types/ProjectType';
-import { useReadProjectUserRoleList, useReadProjectDetail } from '@/hooks/query/useProjectQuery';
-
type UpdateModalProjectProps = {
projectId: Project['projectId'];
onClose: () => void;
@@ -76,7 +75,7 @@ export default function UpdateModalProject({ projectId, onClose: handleClose }:
handleClose();
};
- if (isProjectLoading) {
+ if (isProjectLoading || isProjectCoworkersLoading) {
return ;
}
@@ -84,7 +83,7 @@ export default function UpdateModalProject({ projectId, onClose: handleClose }:
-