Skip to content

Commit 4ab76f5

Browse files
fix(validation): allow activePanel to be 0 (#46)
1 parent 3b20e45 commit 4ab76f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/schemas/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const terminalSchema = z.union([
101101
}
102102
)
103103
]),
104-
activePanel: z.number().positive().optional(),
104+
activePanel: z.number().gte(0).optional(),
105105
})
106106
]);
107107

0 commit comments

Comments
 (0)