style: apply Prettier formatting

This commit is contained in:
gorkem-bwl committed 2026-01-15 23:39:26 -05:00
1 parent ba0c89fc6c
commit 7140d436a5
48 files changed
+425 -86

No files matched your search

@@ -131,7 +131,12 @@ const Filter = ({
color={theme.palette.primary.contrastText}
onClick={handleReset}
variant="contained"
endIcon={<Icon name="X" size={18} />}
endIcon={
<Icon
name="X"
size={18}
/>
}
sx={{
visibility: isFilterActive ? "visible" : "hidden",
}}
@@ -19,21 +19,30 @@ const StatusBox = ({ title, value, status }) => {
color = theme.palette.success.lowContrast;
icon = (
<Box sx={{ ...sharedStyles, top: theme.spacing(4) }}>
<Icon name="ArrowUpRight" size={20} />
<Icon
name="ArrowUpRight"
size={20}
/>
</Box>
);
} else if (status === "down") {
color = theme.palette.error.lowContrast;
icon = (
<Box sx={{ ...sharedStyles, transform: "rotate(180deg)", top: theme.spacing(2) }}>
<Icon name="ArrowUpRight" size={20} />
<Icon
name="ArrowUpRight"
size={20}
/>
</Box>
);
} else if (status === "paused") {
color = theme.palette.warning.lowContrast;
icon = (
<Box sx={{ ...sharedStyles, top: theme.spacing(6), right: theme.spacing(6) }}>
<Icon name="Clock" size={20} />
<Icon
name="Clock"
size={20}
/>
</Box>
);
}
@@ -91,9 +91,15 @@ const UptimeDataTable = ({
}}
>
{sort?.order === "asc" ? (
<Icon name="ArrowUp" size={18} />
<Icon
name="ArrowUp"
size={18}
/>
) : (
<Icon name="ArrowDown" size={18} />
<Icon
name="ArrowDown"
size={18}
/>
)}
</Stack>
</Stack>
@@ -127,9 +133,15 @@ const UptimeDataTable = ({
}}
>
{sort?.order === "asc" ? (
<Icon name="ArrowUp" size={18} />
<Icon
name="ArrowUp"
size={18}
/>
) : (
<Icon name="ArrowDown" size={18} />
<Icon
name="ArrowDown"
size={18}
/>
)}
</Stack>
</Stack>