From f022db9478ab8d8feba749839bfd1baa3050385b Mon Sep 17 00:00:00 2001 From: leukipp Date: Sun, 23 Feb 2025 15:15:06 +0100 Subject: [PATCH] ref: use async update --- src/integration.js | 2 +- src/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integration.js b/src/integration.js index 81011cb..2fe8b89 100644 --- a/src/integration.js +++ b/src/integration.js @@ -117,7 +117,7 @@ const init = async () => { /** * Updates the shared integration properties. */ -const update = () => { +const update = async () => { if (!INTEGRATION.initialized) { return; } diff --git a/src/webview.js b/src/webview.js index 63d4185..f0bab6f 100644 --- a/src/webview.js +++ b/src/webview.js @@ -86,7 +86,7 @@ const init = async () => { /** * Updates the shared webview properties. */ -const update = () => { +const update = async () => { if (!WEBVIEW.initialized) { return; }