generated from Luis/nextjs-python-web-template
nix fmt
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user