Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishBarvaliya committed Feb 26, 2024
1 parent a441886 commit e4dda63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/components/BrowserCell/BrowserCell.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ export default class BrowserCell extends Component {
hidden,
width,
current,
onSelect,
onEditChange,
setCopyableValue,
onPointerCmdClick,
Expand Down Expand Up @@ -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);
}
Expand Down
8 changes: 4 additions & 4 deletions src/dashboard/Data/Browser/DataBrowser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ export default class DataBrowser extends React.Component {
e.ctrlKey || e.metaKey
? firstVisibleColumnIndex
: this.getNextVisibleColumnIndex(
-1,
firstVisibleColumnIndex,
lastVisibleColumnIndex
),
-1,

Check failure on line 217 in src/dashboard/Data/Browser/DataBrowser.react.js

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 18 spaces but found 20
firstVisibleColumnIndex,

Check failure on line 218 in src/dashboard/Data/Browser/DataBrowser.react.js

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 18 spaces but found 20
lastVisibleColumnIndex

Check failure on line 219 in src/dashboard/Data/Browser/DataBrowser.react.js

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 18 spaces but found 20
),

Check failure on line 220 in src/dashboard/Data/Browser/DataBrowser.react.js

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 18
},
});
e.preventDefault();
Expand Down

0 comments on commit e4dda63

Please sign in to comment.