about summary refs log tree commit diff
path: root/src/state/models/cache/profiles-view.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/cache/profiles-view.ts')
-rw-r--r--src/state/models/cache/profiles-view.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/state/models/cache/profiles-view.ts b/src/state/models/cache/profiles-view.ts
index b4bd70db5..e5a9be587 100644
--- a/src/state/models/cache/profiles-view.ts
+++ b/src/state/models/cache/profiles-view.ts
@@ -45,8 +45,6 @@ export class ProfilesCache {
   }
 
   overwrite(did: string, res: GetProfile.Response) {
-    if (this.cache.has(did)) {
-      this.cache.set(did, res)
-    }
+    this.cache.set(did, res)
   }
 }