We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4ccd5 commit 5a02381Copy full SHA for 5a02381
1 file changed
apps/roam/src/components/settings/utils/zodSchema.ts
@@ -122,9 +122,7 @@ export const DiscourseNodeSchema = z.object({
122
})
123
.nullable()
124
.optional()
125
- .transform(
126
- (val) => val ?? { enabled: false, query: defaultNodeIndex() },
127
- ),
+ .transform((val) => val ?? { enabled: false, query: defaultNodeIndex() }),
128
template: z
129
.array(RoamNodeSchema)
130
0 commit comments