We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa1b4e2 commit f9151b2Copy full SHA for f9151b2
src/core/validators/layout-validator.ts
@@ -61,7 +61,7 @@ export const layoutValidatorPayload = {
61
* @returns True if layout is valid
62
*/
63
export const layoutValidator = (layout: TLayout): boolean => {
64
- if (layout.length === 0 || layout === ([] as TLayout)) {
+ if (layout.length === 0) {
65
throw new Error(ErrorMsg.INVALID_LAYOUT);
66
}
67
0 commit comments