forked from coracle/flotilla
Handle hot module unloading in layout
This commit is contained in:
@@ -113,7 +113,7 @@ export const makeFeed = ({
|
||||
onScroll: async () => {
|
||||
const $buffer = get(buffer)
|
||||
|
||||
events.update($events => [...$events, ...$buffer.splice(0, 100)])
|
||||
events.update($events => [...$events, ...$buffer.splice(0, 30)])
|
||||
|
||||
if ($buffer.length < 100) {
|
||||
ctrl.load(100)
|
||||
|
||||
@@ -349,7 +349,7 @@ export const {
|
||||
|
||||
// Relays sending events with empty signatures that the user has to choose to trust
|
||||
|
||||
export const relaysPendingTrust = writable<string[]>([])
|
||||
export const relaysPendingTrust = withGetter(writable<string[]>([]))
|
||||
|
||||
// Relays that mostly send restricted responses to requests and events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user