diff --git a/src/sandbox.ts b/src/sandbox.ts index 7b33fc7..b8ec605 100644 --- a/src/sandbox.ts +++ b/src/sandbox.ts @@ -141,7 +141,7 @@ export function run(code: string, options: any = {}): any { export function observeDoucument(host: any): void { new MutationObserver((mutations) => { - mutations.forEach(async (m: any) => { + mutations.forEach((m: any) => { switch (m.type) { case 'childList': if (m.target !== host) {