simplify skeleton loading

This commit is contained in:
Alex Holliday committed 2024-12-23 09:36:53 -08:00
1 parent 98199f2e1c
commit 1d038cff39
1 file changed
+1 -1
+1 -1
View File
@@ -72,11 +72,11 @@ const UptimeMonitors = () => {
</Stack> </Stack>
<Greeting type="uptime" /> <Greeting type="uptime" />
</Box> </Box>
{!loading && noMonitors && <Fallback isAdmin={isAdmin} />}
{loading ? ( {loading ? (
<SkeletonLayout /> <SkeletonLayout />
) : ( ) : (
<> <>
{noMonitors && <Fallback isAdmin={isAdmin} />}
{hasMonitors && ( {hasMonitors && (
<> <>
<Stack <Stack