refactor: client service

This commit is contained in:
codytseng 2025-08-04 22:53:36 +08:00
parent 5afbdd0aa4
commit 21f09426cf
8 changed files with 459 additions and 491 deletions

View file

@ -650,7 +650,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
if (newFollowListEvent.id !== followListEvent.id) return
setFollowListEvent(newFollowListEvent)
client.updateFollowListCache(newFollowListEvent)
await client.updateFollowListCache(newFollowListEvent)
}
const updateMuteListEvent = async (muteListEvent: Event, privateTags: string[][]) => {