feat: web (#6)
This commit is contained in:
parent
ab667afc30
commit
26c2512d61
60 changed files with 937 additions and 547 deletions
|
|
@ -47,6 +47,9 @@ export default function NoteList({
|
|||
setUntil(events[events.length - 1].created_at - 1)
|
||||
}
|
||||
setInitialized(true)
|
||||
processedEvents.forEach((e) => {
|
||||
client.addEventToCache(e)
|
||||
})
|
||||
},
|
||||
onNew: (event) => {
|
||||
if (!isReplyNoteEvent(event)) {
|
||||
|
|
@ -100,6 +103,9 @@ export default function NoteList({
|
|||
}
|
||||
|
||||
setUntil(sortedEvents[sortedEvents.length - 1].created_at - 1)
|
||||
processedEvents.forEach((e) => {
|
||||
client.addEventToCache(e)
|
||||
})
|
||||
}
|
||||
|
||||
const showNewEvents = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue