ref: use async update
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ const init = async () => {
|
|||||||
/**
|
/**
|
||||||
* Updates the shared integration properties.
|
* Updates the shared integration properties.
|
||||||
*/
|
*/
|
||||||
const update = () => {
|
const update = async () => {
|
||||||
if (!INTEGRATION.initialized) {
|
if (!INTEGRATION.initialized) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ const init = async () => {
|
|||||||
/**
|
/**
|
||||||
* Updates the shared webview properties.
|
* Updates the shared webview properties.
|
||||||
*/
|
*/
|
||||||
const update = () => {
|
const update = async () => {
|
||||||
if (!WEBVIEW.initialized) {
|
if (!WEBVIEW.initialized) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user