Push shards into storage lib

This commit is contained in:
Jon Staab
2025-10-21 09:26:06 -07:00
parent ecbb3086d8
commit 5cbf69a8bd
6 changed files with 76 additions and 116 deletions
+1 -1
View File
@@ -59,7 +59,7 @@
const profile = deriveProfile(event.pubkey, [url])
const profileDisplay = deriveProfileDisplay(event.pubkey, [url])
const thunk = mergeThunks($thunks.filter(t => t.event.id === event.id))
const [_, colorValue] = colors[parseInt(hash(event.pubkey)) % colors.length]
const [_, colorValue] = colors[hash(event.pubkey) % colors.length]
const comments = deriveEventsForUrl(url, [{kinds: [COMMENT], "#e": [event.id]}])
const reply = () => replyTo!(event)
+1 -1
View File
@@ -40,7 +40,7 @@
const profile = deriveProfile(event.pubkey)
const profileDisplay = deriveProfileDisplay(event.pubkey)
const thunk = mergeThunks($thunks.filter(t => t.event.id === event.id))
const [_, colorValue] = colors[parseInt(hash(event.pubkey)) % colors.length]
const [_, colorValue] = colors[hash(event.pubkey) % colors.length]
const reply = () => replyTo(event)