Skip to content

Commit

Permalink
PR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eireland committed Oct 2, 2024
1 parent e65b0d9 commit d094202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v3/src/components/case-table/use-columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { kDefaultColumnWidth, TColumn } from "./case-table-types"
import CellTextEditor from "./cell-text-editor"
import ColorCellTextEditor from "./color-cell-text-editor"
import { ColumnHeader } from "./column-header"
import clsx from "clsx"

Check warning on line 15 in v3/src/components/case-table/use-columns.tsx

View workflow job for this annotation

GitHub Actions / S3 Deploy

Using exported name 'clsx' as identifier for default export

interface IUseColumnsProps {
data?: IDataSet
Expand Down Expand Up @@ -48,7 +49,7 @@ export const useColumns = ({ data, indexColumn }: IUseColumnsProps) => {
resizable: true,
headerCellClass: `codap-column-header`,
renderHeaderCell: ColumnHeader,
cellClass: `codap-data-cell ${hasFormula ? "formula-column" : ""}`,
cellClass: clsx("codap-data-cell", {"formula-column": hasFormula}),
renderCell: AttributeValueCell,
editable: row => isCaseEditable(data, row.__id__),
renderEditCell: isEditable
Expand Down

0 comments on commit d094202

Please sign in to comment.