diff --git a/frontend/src/component/personalDashboard/MyProjects.tsx b/frontend/src/component/personalDashboard/MyProjects.tsx
index d509a93c37..06e9fd898c 100644
--- a/frontend/src/component/personalDashboard/MyProjects.tsx
+++ b/frontend/src/component/personalDashboard/MyProjects.tsx
@@ -122,7 +122,10 @@ const ProjectListItem: FC<{
);
};
-type MyProjectsState = 'no projects' | 'projects' | 'projects with error';
+type MyProjectsState =
+ | 'no projects'
+ | 'projects'
+ | 'projects with error or loading';
export const MyProjects = forwardRef<
HTMLDivElement,
@@ -149,7 +152,7 @@ export const MyProjects = forwardRef<
const state: MyProjectsState = projects.length
? personalDashboardProjectDetails
? 'projects'
- : 'projects with error'
+ : 'projects with error or loading'
: 'no projects';
const activeProjectStage =
@@ -190,7 +193,7 @@ export const MyProjects = forwardRef<
),
};
- case 'projects with error':
+ case 'projects with error or loading':
return {
list: (
The API request to get data for this project returned with an
error.
diff --git a/frontend/src/component/personalDashboard/RoleAndOwnerInfo.tsx b/frontend/src/component/personalDashboard/RoleAndOwnerInfo.tsx
index fce80ebf17..f0b62053e6 100644
--- a/frontend/src/component/personalDashboard/RoleAndOwnerInfo.tsx
+++ b/frontend/src/component/personalDashboard/RoleAndOwnerInfo.tsx
@@ -51,7 +51,7 @@ export const RoleAndOwnerInfo = ({ roles, owners }: Props) => {
const firstRoles = roles.slice(0, 3);
const extraRoles = roles.slice(3);
return (
-