nix fmt
All checks were successful
checks-impure / test (pull_request) Successful in 30s
checks / test (pull_request) Successful in 2m47s

This commit is contained in:
2023-12-12 22:55:41 +01:00
parent fa25e13842
commit 78736f3944
17 changed files with 231 additions and 131 deletions

View File

@@ -12,10 +12,8 @@ import { ICustomTable, CustomTableConfiguration } from "@/types";
import { Checkbox, Skeleton } from "@mui/material";
const CustomTable = ({ configuration, data, loading }: ICustomTable) => {
if (loading)
return <Skeleton variant="rectangular" animation="wave" height={200} />
return <Skeleton variant="rectangular" animation="wave" height={200} />;
// display empty icon in case there is no data
if (!data || data.length === 0)