Skip to content

Commit

Permalink
format: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Swanand01 committed Feb 5, 2025
1 parent a89dabc commit be538ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/core/src/config/snapwp-config-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ class SnapWPConfigManager {
blockDefinitions: {
type: 'object',
required: false,
validate: ( value ) => {},
},
};

Expand Down Expand Up @@ -277,8 +276,6 @@ class SnapWPConfigManager {
}

if ( value && prop.type && typeof value !== prop.type ) {
console.log( 'typeof value', typeof value );
console.log( 'prop.type', prop.type );
throw new Error(
`Property ${ key } should be of type ${ prop.type }.`
);
Expand Down

0 comments on commit be538ae

Please sign in to comment.