From 2d371098b4a318d0bd249d4cbc5f04c244b4b510 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 8 Feb 2024 18:44:28 -0800 Subject: [PATCH] Changed loading for TeamProvider. --- src/app/(main)/teams/[teamId]/TeamProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(main)/teams/[teamId]/TeamProvider.tsx b/src/app/(main)/teams/[teamId]/TeamProvider.tsx index a9c57cec..467a5d22 100644 --- a/src/app/(main)/teams/[teamId]/TeamProvider.tsx +++ b/src/app/(main)/teams/[teamId]/TeamProvider.tsx @@ -16,7 +16,7 @@ export function TeamProvider({ teamId, children }: { teamId?: string; children: }, [teamId, modified]); if (isFetching && isLoading) { - return ; + return ; } if (teamId && !team) {