only render a max of 80 or so events
we can have a load more button if we really want to
This commit is contained in:
parent
95824385f1
commit
43061337e8
2 changed files with 4 additions and 2 deletions
|
@ -482,7 +482,9 @@ function render_home_view(model) {
|
|||
}
|
||||
|
||||
function render_events(model) {
|
||||
return model.events.map((ev) => render_event(model, ev)).join("\n")
|
||||
return model.events
|
||||
.filter((ev, i) => i < 80)
|
||||
.map((ev) => render_event(model, ev)).join("\n")
|
||||
}
|
||||
|
||||
function determine_event_refs_positionally(pubkeys, ids)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue