Merged in feat/book-396-validationerror (pull request #2871)

feat(BOOK-396): city page validation error

* feat(BOOK-396): city page validation error

* feat(BOOK-396): city page validation error


Approved-by: Erik Tiekstra
Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-09-26 10:51:19 +00:00
parent 12b5055afe
commit 7bdcfc7681
4 changed files with 5 additions and 1 deletions

View File

@@ -43,8 +43,9 @@ export const contentSchema = z.object({
}),
}),
})
.nullish()
.transform((data) => {
return data.content
return data?.content
}),
})