mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user