From a0ece0d77e0e5605bf5bfd1ea93fd15cb8ffc7f6 Mon Sep 17 00:00:00 2001 From: Soham Datta <78294692+sohamdata@users.noreply.github.com> Date: Fri, 23 Jun 2023 18:44:18 +0530 Subject: [PATCH] fix: added loading skeleton for teams profile view (#9746) Co-authored-by: Bailey Pumfleet --- .../ee/teams/pages/team-profile-view.tsx | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/packages/features/ee/teams/pages/team-profile-view.tsx b/packages/features/ee/teams/pages/team-profile-view.tsx index f9d52af683..acd3b3f70e 100644 --- a/packages/features/ee/teams/pages/team-profile-view.tsx +++ b/packages/features/ee/teams/pages/team-profile-view.tsx @@ -16,6 +16,7 @@ import objectKeys from "@calcom/lib/objectKeys"; import turndown from "@calcom/lib/turndownService"; import { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; +import { SkeletonContainer, SkeletonText } from "@calcom/ui"; import { Avatar, Button, @@ -148,7 +149,7 @@ const ProfileView = () => { return ( <> - {!isLoading && ( + {!isLoading ? ( <> {isAdmin ? (
{ )} + ):( + <> + +
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+
+
+ +
+ + +
+ +
+ +
+
+
+ )} );