Initial loading message

This commit is contained in:
dunemask 2023-08-21 15:05:13 -06:00
parent 53190fddf5
commit 4d7a0ce821

View file

@ -27,6 +27,13 @@ export default function Home() {
return (
<Box className="home">
<Overview clusterMetrics={clusterMetrics} />
{isLoading && (
<Box display="flex" alignItems="center" justifyContent="center">
<Typography variant="h4" sx={{ textAlign: "center" }}>
Loading Server Information...
</Typography>
</Box>
)}
{!isLoading && servers.length === 0 && (
<Box display="flex" alignItems="center" justifyContent="center">
<Typography variant="h4" sx={{ textAlign: "center" }}>