feat: 💨
This commit is contained in:
parent
0c1dab89da
commit
1ec68f5696
2 changed files with 18 additions and 15 deletions
|
|
@ -236,7 +236,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
|
|||
if (storedPinListEvent) {
|
||||
setPinListEvent(storedPinListEvent)
|
||||
}
|
||||
if (storedPinnedUsersEvent !== undefined) {
|
||||
if (storedPinnedUsersEvent) {
|
||||
setPinnedUsersEvent(storedPinnedUsersEvent)
|
||||
}
|
||||
|
||||
|
|
@ -348,9 +348,6 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
|
|||
if (updatedPinnedUsersEvent.id === pinnedUsersEvent.id) {
|
||||
setPinnedUsersEvent(updatedPinnedUsersEvent)
|
||||
}
|
||||
} else {
|
||||
await indexedDb.putNullReplaceableEvent(account.pubkey, ExtendedKind.PINNED_USERS)
|
||||
setPinnedUsersEvent(null)
|
||||
}
|
||||
|
||||
const notificationsSeenAt = Math.max(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue