remove nip05 login, use nostrconnect instead

This commit is contained in:
Jon Staab
2024-11-12 13:27:19 -08:00
parent 1b15767a17
commit d5412811b2
13 changed files with 1263 additions and 157 deletions
@@ -35,14 +35,14 @@
onMount(() => {
const ctrl = createFeedController({
feed: feedsFromFilters(filters),
feed,
onExhausted: () => {
loading = false
},
})
const unsub = subscribePersistent({
filters: filters.map(assoc('since', ago(30))),
filters: filters.map(assoc("since", ago(30))),
relays: [url],
})
@@ -50,7 +50,11 @@
element,
delay: 300,
threshold: 3000,
onScroll: () => ctrl.load(5),
onScroll: async () => {
limit += 5
await ctrl.load(5)
},
})
return () => {