Skip to content

Commit

Permalink
fix(virtualizedCellRender): resolved ambigous condition
Browse files Browse the repository at this point in the history
it may be issue with babel, as it was working file in storybook, but not in project. so i clarified
with braces
  • Loading branch information
pdudhat committed Oct 23, 2020
1 parent dca5c1e commit b25b380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtualized/cellRender.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const defaultCellRender = ({
})
if (cellProps.isEditing) {
const computedEditRender =
cellProps.editRender || cellProps.header.choices ? dropdownEditRender : inputCellEditRender
cellProps.editRender || (cellProps.header.choices ? dropdownEditRender : inputCellEditRender)

return <CellEditContainer {...cellProps} render={computedEditRender} />
}
Expand Down

0 comments on commit b25b380

Please sign in to comment.