style: make new files lint-clean (prettier + eqeqeq + remove unused eslint-disables)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-23 10:52:10 +08:00
co-authored by Claude Fable 5
parent fe45c80dd2
commit 47a774f237
5 changed files with 49 additions and 19 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export class OpenCodeCellActions extends Widget {
const node = this.node;
node.textContent = '';
const hasError = this._context?.error != null;
const hasError = !!this._context?.error;
const loading = this._status === 'loading';
const baseDisabled = !this._context || loading;