Skip to content

Commit 1c1f4bc

Browse files
committed
fix: correct formatting of conditional rendering in CellRenderer
1 parent bc5a29c commit 1c1f4bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/Components/CellRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const CellRenderer: React.FC<CellRendererProps> = ({
134134
})}
135135
>
136136
{cellTemplate.render(cellToRender, isMobile ? isInEditMode : false, onCellChanged)}
137-
{location.row.idx === 0 || (cell.type === 'header' && state.props?.enableColumnResizeOnAllHeaders)) && location.column.resizable && <ResizeColumnHandle />}
137+
{(location.row.idx === 0 || (cell.type === 'header' && state.props?.enableColumnResizeOnAllHeaders)) && location.column.resizable && <ResizeColumnHandle />}
138138
{location.column.idx === 0 && location.row.resizable && <ResizeRowHandle />}
139139
{state.enableGroupIdRender && cell?.groupId !== undefined && !(isInEditMode && isMobile) && (
140140
<span className="rg-groupId">{cell.groupId}</span>

0 commit comments

Comments
 (0)