mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
7a9908da60
@ -33,8 +33,7 @@ class GroupStoreCache {
|
||||
}
|
||||
}
|
||||
|
||||
let singletonGroupStoreCache = null;
|
||||
if (!singletonGroupStoreCache) {
|
||||
singletonGroupStoreCache = new GroupStoreCache();
|
||||
if (global.singletonGroupStoreCache === undefined) {
|
||||
global.singletonGroupStoreCache = new GroupStoreCache();
|
||||
}
|
||||
module.exports = singletonGroupStoreCache;
|
||||
export default global.singletonGroupStoreCache;
|
||||
|
Loading…
Reference in New Issue
Block a user