Reformatted files with biome.
This commit is contained in:
1 parent
d51f0641a6
commit
fa8d8055df
558 files changed
+2108
-2379
No files matched your search
+2
-2
@@ -116,8 +116,8 @@ export const goalReportSchema = z.object({
|
||||
property: z.string().optional(),
|
||||
})
|
||||
.refine(data => {
|
||||
if (data['type'] === 'event' && data['property']) {
|
||||
return data['operator'] && data['property'];
|
||||
if (data.type === 'event' && data.property) {
|
||||
return data.operator && data.property;
|
||||
}
|
||||
return true;
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user