diff --git a/packages/x6-plugin-selection/src/api.ts b/packages/x6-plugin-selection/src/api.ts index eae95972ce2..94dd59704eb 100644 --- a/packages/x6-plugin-selection/src/api.ts +++ b/packages/x6-plugin-selection/src/api.ts @@ -307,7 +307,7 @@ Graph.prototype.unselect = function ( ) { const selection = this.getPlugin('selection') as Selection if (selection) { - return selection.unselect(cells, options) + selection.unselect(cells, options) } return this }