Skip to content

Commit

Permalink
fix: 🐛 fix alerts of lgtm
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Jun 22, 2021
1 parent a6922f8 commit 3e75128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/x6/src/view/tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ export namespace ToolsView {

if (
(tag == null || tag === toStringTag) &&
typeof view.graph != null &&
typeof view.cell != null &&
view.graph != null &&
view.cell != null &&
typeof view.config === 'function' &&
typeof view.update === 'function' &&
typeof view.focus === 'function' &&
Expand Down

0 comments on commit 3e75128

Please sign in to comment.