forked from Kieran/snort
fix: keep caching users in localstorage until fully migrating to indexed db
This commit is contained in:
parent
5a1532e8c5
commit
ac3f3ffff7
@ -75,6 +75,7 @@ const UsersSlice = createSlice({
|
|||||||
nip05: x.nip05,
|
nip05: x.nip05,
|
||||||
picture: x.picture,
|
picture: x.picture,
|
||||||
})
|
})
|
||||||
|
window.localStorage.setItem(`user:${x.pubkey}`, JSON.stringify(x));
|
||||||
|
|
||||||
state.users = {
|
state.users = {
|
||||||
...state.users
|
...state.users
|
||||||
|
Loading…
Reference in New Issue
Block a user