From 1ea2ef76e89fda692a9e1061972598d75591f68e Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Wed, 6 Mar 2024 09:32:24 +0100 Subject: [PATCH] Update taskpane.ts --- src/word-plugin/src/taskpane/taskpane.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/word-plugin/src/taskpane/taskpane.ts b/src/word-plugin/src/taskpane/taskpane.ts index 5f38ee6..b576065 100644 --- a/src/word-plugin/src/taskpane/taskpane.ts +++ b/src/word-plugin/src/taskpane/taskpane.ts @@ -113,7 +113,7 @@ export async function run1() { console.log(`Execution time update word formatting: ${end - start} ms`); start = performance.now(); - context.sync(); + await context.sync(); end = performance.now(); console.log(`Execution time context sync: ${end - start} ms`);