1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-09 00:11:30 +01:00

update comment about state service

This commit is contained in:
Jacob Fink 2023-07-05 16:45:39 -04:00
parent 86423d8e22
commit 32867e9207
No known key found for this signature in database
GPG Key ID: C2F7ACF05859D008

View File

@ -56,8 +56,8 @@ export class BrowserStateService
);
// TODO: This is a hack to fix having a disk cache on both the popup and
// the background page that can get out of sync. We need to have a single
// instance of our state service that is shared so we can remove this.
// the background page that can get out of sync. We need to work out the
// best way to handle caching with multiple instances of the state service.
if (useAccountCache) {
chrome.storage.onChanged.addListener((changes, namespace) => {
if (namespace === "local") {