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);
}
}
}

View File

@@ -13,6 +13,7 @@
"@evilmartians/harmony": "^1.2.0",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"tailwind-gradient-mask-image": "^1.2.0",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.3"
}

View File

@@ -38,7 +38,6 @@
"slate-react": "^0.102.0",
"sonner": "^1.4.41",
"string-strip-html": "^13.4.8",
"tailwind-gradient-mask-image": "^1.2.0",
"uqr": "^0.1.2",
"use-debounce": "^10.0.0",
"virtua": "^0.30.2"