mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
desktop: Keep the local actor in the cache
The profile page reloaded its route after every write and only noticed edits from other devices on navigation. Now writes and the node's updates refetch the actor in place, like the rest of the cache.
This commit is contained in:
@@ -34,6 +34,8 @@ export const keys = {
|
||||
// The repository list for one scope, with the seeded repositories that
|
||||
// haven't arrived yet.
|
||||
repoList: (scope: string) => ["repos", scope] as const,
|
||||
// The local actor, which is found by scanning every repository's identity.
|
||||
actor: () => ["actor"] as const,
|
||||
notifications: () => ["notifications"] as const,
|
||||
notificationCount: () => ["notifications", "count"] as const,
|
||||
notificationList: () => ["notifications", "list"] as const,
|
||||
|
||||
Reference in New Issue
Block a user