chore: fix eslint in blocksuite (#9232)

This commit is contained in:
Saul-Mirone
2024-12-20 16:48:10 +00:00
parent bfcc53dc1f
commit 3a82da0e5b
269 changed files with 935 additions and 842 deletions
@@ -65,21 +65,21 @@ export class CollabDebugMenu extends SignalWatcher(ShadowlessElement) {
}
`;
private _darkModeChange = (e: MediaQueryListEvent) => {
private readonly _darkModeChange = (e: MediaQueryListEvent) => {
this._setThemeMode(!!e.matches);
};
private _handleDocsPanelClose = () => {
private readonly _handleDocsPanelClose = () => {
this.leftSidePanel.toggle(this.docsPanel);
};
private _keydown = (e: KeyboardEvent) => {
private readonly _keydown = (e: KeyboardEvent) => {
if (e.key === 'F1') {
this._switchEditorMode();
}
};
private _startCollaboration = async () => {
private readonly _startCollaboration = async () => {
if (window.wsProvider) {
notify('There is already a websocket provider exists', 'neutral').catch(
console.error