diff --git a/packages/tldraw/src/state/TldrawApp.ts b/packages/tldraw/src/state/TldrawApp.ts index d124e7782..d04aa7fc5 100644 --- a/packages/tldraw/src/state/TldrawApp.ts +++ b/packages/tldraw/src/state/TldrawApp.ts @@ -1765,9 +1765,8 @@ export class TldrawApp extends StateManager { paste = async (point?: number[], e?: ClipboardEvent) => { if (this.readOnly) return - const shapesToCreate: TDShape[] = [] - const filesToPaste: File[] = [] + const shapesToCreate: TDShape[] = [] let clipboardData: any @@ -1855,11 +1854,10 @@ export class TldrawApp extends StateManager { } case 'text/plain': { if (str.startsWith('