Fix UI styling of loading state for automatic enrollment settings page (#16959)

This commit is contained in:
Sarah Gillespie
2024-02-22 10:01:04 -06:00
committed by GitHub
parent 685ba9484d
commit dfa8695dd5
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1 @@
- Fixed UI styling of loading state for automatic enrollment settings page.
@@ -43,7 +43,11 @@ const AutomaticEnrollment = ({ router }: IAutomaticEnrollment) => {
if (!isPremiumTier) return <PremiumFeatureMessage />;
if (isLoadingMdmApple) {
return <Spinner />;
return (
<div className={baseClass}>
<Spinner />
</div>
);
}
if (errorMdmApple?.status === 404) {