diff --git a/src/components/BrowserCell/BrowserCell.react.js b/src/components/BrowserCell/BrowserCell.react.js index 09506e1cde..ec0880eadb 100644 --- a/src/components/BrowserCell/BrowserCell.react.js +++ b/src/components/BrowserCell/BrowserCell.react.js @@ -526,7 +526,6 @@ export default class BrowserCell extends Component { hidden, width, current, - onSelect, onEditChange, setCopyableValue, onPointerCmdClick, @@ -575,7 +574,7 @@ export default class BrowserCell extends Component { ); } - if (selectedCells.list.has(`${row}-${col}`)) { + if (selectedCells?.list.has(`${row}-${col}`)) { if (selectedCells.rowStart === row) { classes.push(styles.topBorder); } diff --git a/src/dashboard/Data/Browser/DataBrowser.react.js b/src/dashboard/Data/Browser/DataBrowser.react.js index 8671b15df1..99b090c891 100644 --- a/src/dashboard/Data/Browser/DataBrowser.react.js +++ b/src/dashboard/Data/Browser/DataBrowser.react.js @@ -214,10 +214,10 @@ export default class DataBrowser extends React.Component { e.ctrlKey || e.metaKey ? firstVisibleColumnIndex : this.getNextVisibleColumnIndex( - -1, - firstVisibleColumnIndex, - lastVisibleColumnIndex - ), + -1, + firstVisibleColumnIndex, + lastVisibleColumnIndex + ), }, }); e.preventDefault();