e.stopPropagation()}>
{isPinned &&
}
{canApply && (
)}
{isApplied && (
✓ применено
)}
)
},
meta: {
headerClassName: cn(DATA_GRID_CELL_PAD_LAST, "text-right"),
cellClassName: DATA_GRID_CELL_PAD_LAST,
},
},
],
[applied, applying, homeId, onApply, onPin, pinned],
)
const table = useReactTable({
data: rows,
columns,
getCoreRowModel: getCoreRowModel(),
getSortedRowModel: getSortedRowModel(),
getRowId: (row) => row._rowKey,
})
return (