mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-23 04:51:49 +08:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -26,7 +26,7 @@ import { addSiblingAttachmentBlocks } from './utils.js';
|
||||
export class AttachmentBlockService extends BlockService {
|
||||
static override readonly flavour = AttachmentBlockSchema.model.flavour;
|
||||
|
||||
private _fileDropOptions: FileDropOptions = {
|
||||
private readonly _fileDropOptions: FileDropOptions = {
|
||||
flavour: this.flavour,
|
||||
onDrop: async ({ files, targetModel, place, point }) => {
|
||||
if (!files.length) return false;
|
||||
|
||||
Reference in New Issue
Block a user