mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
Changed loading for TeamProvider.
This commit is contained in:
parent
d62dd3be44
commit
2d371098b4
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user