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:
parent
86423d8e22
commit
32867e9207
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user