simplify skeleton loading
This commit is contained in:
1 parent
98199f2e1c
commit
1d038cff39
1 file changed
+1
-1
@@ -72,11 +72,11 @@ const UptimeMonitors = () => {
|
||||
</Stack>
|
||||
<Greeting type="uptime" />
|
||||
</Box>
|
||||
{!loading && noMonitors && <Fallback isAdmin={isAdmin} />}
|
||||
{loading ? (
|
||||
<SkeletonLayout />
|
||||
) : (
|
||||
<>
|
||||
{noMonitors && <Fallback isAdmin={isAdmin} />}
|
||||
{hasMonitors && (
|
||||
<>
|
||||
<Stack
|
||||
|
||||
Reference in new issue
Block a user