feat: onboarding

This commit is contained in:
reya
2024-05-09 15:06:42 +07:00
parent c8e1b8b8bd
commit 777eb15b4f
18 changed files with 562 additions and 63 deletions

View File

@@ -1,10 +1,10 @@
import {
Kind,
type Contact,
type Event,
type EventWithReplies,
type Interests,
type Keys,
Kind,
type LumeColumn,
type Metadata,
type Settings,
@@ -194,8 +194,10 @@ export class Ark {
.filter((el) => el[0] === "e")
?.map((item) => item[1]);
if (eventIds && eventIds.length) {
eventIds.forEach((id) => seenIds.add(id));
if (eventIds?.length) {
for (const id of eventIds) {
seenIds.add(id);
}
}
}