refactor: lint

This commit is contained in:
Mauricio Siu
2025-01-16 22:24:31 -06:00
parent abff70f081
commit f70192a71c
4 changed files with 1581 additions and 1577 deletions

View File

@@ -53,7 +53,7 @@ export const ShowContainers = ({ serverId }: Props) => {
const [sorting, setSorting] = React.useState<SortingState>([]); const [sorting, setSorting] = React.useState<SortingState>([]);
const [columnFilters, setColumnFilters] = React.useState<ColumnFiltersState>( const [columnFilters, setColumnFilters] = React.useState<ColumnFiltersState>(
[] [],
); );
const [columnVisibility, setColumnVisibility] = const [columnVisibility, setColumnVisibility] =
React.useState<VisibilityState>({}); React.useState<VisibilityState>({});
@@ -163,7 +163,7 @@ export const ShowContainers = ({ serverId }: Props) => {
? null ? null
: flexRender( : flexRender(
header.column.columnDef.header, header.column.columnDef.header,
header.getContext() header.getContext(),
)} )}
</TableHead> </TableHead>
); );
@@ -182,7 +182,7 @@ export const ShowContainers = ({ serverId }: Props) => {
<TableCell key={cell.id}> <TableCell key={cell.id}>
{flexRender( {flexRender(
cell.column.columnDef.cell, cell.column.columnDef.cell,
cell.getContext() cell.getContext(),
)} )}
</TableCell> </TableCell>
))} ))}

View File

@@ -30,7 +30,7 @@ export const ShowTraefikSystem = ({ serverId }: Props) => {
}, },
{ {
retry: 2, retry: 2,
} },
); );
return ( return (

View File

@@ -300,7 +300,6 @@ const data = {
isSingle: true, isSingle: true,
isActive: false, isActive: false,
}, },
] as NavItem[], ] as NavItem[],
help: [ help: [
{ {
@@ -317,7 +316,12 @@ const data = {
name: "Sponsor", name: "Sponsor",
url: "https://opencollective.com/dokploy", url: "https://opencollective.com/dokploy",
icon: ({ className }) => ( icon: ({ className }) => (
<HeartIcon className={cn("text-red-500 fill-red-600 animate-heartbeat", className)} /> <HeartIcon
className={cn(
"text-red-500 fill-red-600 animate-heartbeat",
className,
)}
/>
), ),
}, },
] as ExternalLink[], ] as ExternalLink[],