Changed loading for TeamProvider.

This commit is contained in:
Mike Cao 2024-02-08 18:44:28 -08:00
parent d62dd3be44
commit 2d371098b4

View File

@ -16,7 +16,7 @@ export function TeamProvider({ teamId, children }: { teamId?: string; children:
}, [teamId, modified]); }, [teamId, modified]);
if (isFetching && isLoading) { if (isFetching && isLoading) {
return <Loading />; return <Loading position="page" />;
} }
if (teamId && !team) { if (teamId && !team) {