mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-29 00:06:09 +08:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -16,7 +16,7 @@ export class AffineKeyboardToolbarWidget extends WidgetComponent<
|
||||
RootBlockModel,
|
||||
PageRootBlockComponent
|
||||
> {
|
||||
private _close = (blur: boolean) => {
|
||||
private readonly _close = (blur: boolean) => {
|
||||
if (blur) {
|
||||
if (document.activeElement === this._docTitle) {
|
||||
this._docTitle?.blur();
|
||||
|
||||
@@ -90,7 +90,7 @@ export class AffineKeyboardToolbar extends SignalWatcher(
|
||||
|
||||
private readonly _path$ = signal<number[]>([]);
|
||||
|
||||
private scrollCurrentBlockIntoView = () => {
|
||||
private readonly scrollCurrentBlockIntoView = () => {
|
||||
const { std } = this.rootComponent;
|
||||
std.command
|
||||
.chain()
|
||||
|
||||
Reference in New Issue
Block a user