Skip to content

Commit 82be4a4

Browse files
committed
disabling lint test for undefined
1 parent f1d90be commit 82be4a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/fragments/AgGrid.react.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,8 @@ export default class DashAgGrid extends Component {
782782
// Call the API to select rows unless the update was triggered by a selection made in the UI
783783
if (
784784
!equals(selectedRows, prevProps.selectedRows) &&
785-
!(loading_state !== undefined
785+
// eslint-disable-next-line no-undefined
786+
!(typeof loading_state !== 'undefined'
786787
? loading_state && this.selectionEventFired
787788
: this.selectionEventFired)
788789
) {

0 commit comments

Comments
 (0)