Remove extra await

This commit is contained in:
Maxx Crawford 2021-02-24 15:44:49 -06:00
parent f451bff6e7
commit e0ef03b2d2

View file

@ -37,8 +37,7 @@ const backgroundLogic = {
.then(data => {
return data;
});
return await mullvadFetchData;
return mullvadFetchData;
},
async getMullvadServers() {
@ -188,7 +187,7 @@ const backgroundLogic = {
if ("isIsolated" in containerState || remove) {
delete containerState.isIsolated;
} else {
containerState.isIsolated = "locked";
containerState.isIsolated = "locked";
}
return await identityState.storageArea.set(cookieStoreId, containerState);
} catch (error) {