diff --git a/packages/core/src/__tests__/builder.test.ts b/packages/core/src/__tests__/builder.test.ts index 40d41c5fe1..bc11ccdc41 100644 --- a/packages/core/src/__tests__/builder.test.ts +++ b/packages/core/src/__tests__/builder.test.ts @@ -638,7 +638,7 @@ describe('Builder', () => { ); }); - test('preserves bound media query styles when converting to mitosis', () => { + test('preserve bound media query styles when converting to mitosis', () => { const content = { data: { blocks: [ diff --git a/packages/core/src/parsers/builder/builder.ts b/packages/core/src/parsers/builder/builder.ts index d8dea4c4b2..1201a8a458 100644 --- a/packages/core/src/parsers/builder/builder.ts +++ b/packages/core/src/parsers/builder/builder.ts @@ -108,9 +108,8 @@ const getActionBindingsFromBlock = ( const getStyleStringFromBlock = (block: BuilderElement, options: BuilderToMitosisOptions) => { const styleBindings: any = {}; - let styleString = ''; - const responsiveStyles: Record> = {}; + let styleString = ''; if (block.bindings) { for (const key in block.bindings) {