Skip to content

Commit 7ea5e3f

Browse files
committed
chore: remove unncessary condition on subscriptions
1 parent 62066e7 commit 7ea5e3f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/datatip-manager.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ export class DataTipManager {
110110
}
111111
this.editorSubscriptions = null
112112

113-
if (this.subscriptions) {
114-
this.subscriptions.dispose()
115-
}
113+
this.subscriptions.dispose()
116114
}
117115

118116
/** Returns the provider registry as a consumable service */

0 commit comments

Comments
 (0)