Update util docs

This commit is contained in:
Jon Staab
2025-06-04 17:52:25 -07:00
parent 95eae509cc
commit 59db0eda9d
10 changed files with 780 additions and 837 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ const profile = makeProfile({
})
// Create profile event
const event = createProfile(profile)
const profileEvent = createProfile(profile)
```
### Reading Profile
@@ -107,7 +107,7 @@ if (profileHasName(profile)) {
### Updating Profile
```typescript
// Edit existing profile
const updated = editProfile({
const profileEvent = editProfile({
...existingProfile,
name: "New Name",
about: "Updated bio"