feat(BOOK-55): Listen to SEO filter slugs when navigating to such page
Approved-by: Chuma Mcphoy (We Ahead) Approved-by: Matilda Landström
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
import { contentRefsSchema, contentSchema } from "../schemas/blocks/content"
|
||||
import {
|
||||
destinationFiltersRefsSchema,
|
||||
destinationFiltersSchema,
|
||||
transformedDestinationFiltersSchema,
|
||||
} from "../schemas/destinationFilters"
|
||||
import { mapLocationSchema } from "../schemas/mapLocation"
|
||||
import {
|
||||
@@ -163,7 +163,7 @@ export const destinationCityPageSchema = z.object({
|
||||
})
|
||||
.nullish(),
|
||||
blocks: discriminatedUnionArray(blocksSchema.options).nullable(),
|
||||
seo_filters: destinationFiltersSchema,
|
||||
seo_filters: transformedDestinationFiltersSchema,
|
||||
system: systemSchema.merge(
|
||||
z.object({
|
||||
created_at: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user