Update UpgradeOverlay.tsx

This commit is contained in:
Daniel Hougaard
2024-02-23 01:13:26 +01:00
parent ceb7fafc06
commit cadf6e1157
@@ -33,9 +33,7 @@ export const UpgradeOverlay = () => {
return null; return null;
} }
// for non admin this would throw an error return !isUpgradeStatusLoading && isUpgrading ? (
// so no need to render
return !isUpgradeStatusLoading && isUpgrading ? ( // isUpgrading
<div className="absolute top-0 left-0 z-50 flex h-screen w-screen items-center justify-center bg-bunker-500 bg-opacity-80"> <div className="absolute top-0 left-0 z-50 flex h-screen w-screen items-center justify-center bg-bunker-500 bg-opacity-80">
<Spinner size="lg" className="text-primary" /> <Spinner size="lg" className="text-primary" />
<div className="ml-4 flex flex-col space-y-1"> <div className="ml-4 flex flex-col space-y-1">