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:
@@ -43,8 +43,9 @@ export const contentSchema = z.object({
|
||||
}),
|
||||
}),
|
||||
})
|
||||
.nullish()
|
||||
.transform((data) => {
|
||||
return data.content
|
||||
return data?.content
|
||||
}),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user