Skip to content

Commit 4fd71df

Browse files
committed
prettier
1 parent 787cb14 commit 4fd71df

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

apps/roam/src/components/settings/utils/zodSchema.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,13 @@ export const DiscourseNodeSchema = z.object({
109109
})
110110
.nullable()
111111
.optional()
112-
.transform((val) => val ?? { enabled: false, query: { conditions: [], selections: [], custom: "", returnNode: "" } }),
112+
.transform(
113+
(val) =>
114+
val ?? {
115+
enabled: false,
116+
query: { conditions: [], selections: [], custom: "", returnNode: "" },
117+
},
118+
),
113119
template: z
114120
.array(RoamNodeSchema)
115121
.nullable()

0 commit comments

Comments
 (0)