fix(SW-438): fix problem with type for quick links
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import { shortcutsRefsSchema, shortcutsSchema } from "../blocks/shortcuts"
|
||||
import { shortcutsBlockSchema, shortcutsRefsSchema } from "../blocks/shortcuts"
|
||||
|
||||
import { SidebarEnums } from "@/types/enums/sidebar"
|
||||
|
||||
@@ -11,6 +11,6 @@ export const quickLinksSchema = z
|
||||
.optional()
|
||||
.default(SidebarEnums.blocks.Shortcuts),
|
||||
})
|
||||
.merge(shortcutsSchema)
|
||||
.merge(shortcutsBlockSchema)
|
||||
|
||||
export const quickLinksRefschema = shortcutsRefsSchema
|
||||
|
||||
Reference in New Issue
Block a user