Skip to content

Commit

Permalink
more clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi committed Nov 18, 2024
1 parent fec169d commit e3c5b10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/__tests__/builder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/parsers/builder/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,8 @@ const getActionBindingsFromBlock = (

const getStyleStringFromBlock = (block: BuilderElement, options: BuilderToMitosisOptions) => {
const styleBindings: any = {};
let styleString = '';

const responsiveStyles: Record<string, Record<string, string>> = {};
let styleString = '';

if (block.bindings) {
for (const key in block.bindings) {
Expand Down

0 comments on commit e3c5b10

Please sign in to comment.