diff --git a/src/converter/converter.ts b/src/converter/converter.ts index fef4ed4..3b9ca54 100644 --- a/src/converter/converter.ts +++ b/src/converter/converter.ts @@ -82,46 +82,46 @@ export function convertFile($: CheerioAPI): void { fxShow = value; fxShowBreakpoint = breakpoint; } - }); - if (fxLayoutAlign !== undefined) { - convertFxLayoutAlignToTailwind($element, fxLayoutAlign, fxLayoutAlignBreakpoint); - } + if (fxLayoutAlign !== undefined) { + convertFxLayoutAlignToTailwind($element, fxLayoutAlign, fxLayoutAlignBreakpoint); + } - if (fxLayout !== undefined) { - convertFxLayoutToTailwind($element, fxLayout, fxLayoutBreakpoint); - } + if (fxLayout !== undefined) { + convertFxLayoutToTailwind($element, fxLayout, fxLayoutBreakpoint); + } - if (fxLayoutGap !== undefined) { - convertFxLayoutGapToTailwind($element, fxLayout ?? '', fxLayoutGap, fxLayoutGapBreakpoint); - } + if (fxLayoutGap !== undefined) { + convertFxLayoutGapToTailwind($element, fxLayout ?? '', fxLayoutGap, fxLayoutGapBreakpoint); + } - if (fxFlex !== undefined) { - convertFxFlexToTailwind($element, fxFlex, fxGrow ?? '', fxShrink ?? '', fxFlexBreakpoint); - } + if (fxFlex !== undefined) { + convertFxFlexToTailwind($element, fxFlex, fxGrow ?? '', fxShrink ?? '', fxFlexBreakpoint); + } - if (fxFill !== undefined || fxFlexFill !== undefined) { - convertFxFlexFillToTailwind($element); - } + if (fxFill !== undefined || fxFlexFill !== undefined) { + convertFxFlexFillToTailwind($element); + } - if (fxFlexOrder !== undefined) { - convertFxFlexOrderToTailwind($element, fxFlexOrder ?? '', fxFlexOrderBreakpoint); - } + if (fxFlexOrder !== undefined) { + convertFxFlexOrderToTailwind($element, fxFlexOrder ?? '', fxFlexOrderBreakpoint); + } - if (fxFlexAlign !== undefined) { - convertFxFlexAlignToTailwind($element, fxFlexAlign ?? '', fxFlexAlignBreakpoint); - } + if (fxFlexAlign !== undefined) { + convertFxFlexAlignToTailwind($element, fxFlexAlign ?? '', fxFlexAlignBreakpoint); + } - if (fxFlexOffset !== undefined) { - convertFxFlexOffsetToTailwind($element, fxFlexOffset ?? '', fxFlexOffsetBreakpoint); - } + if (fxFlexOffset !== undefined) { + convertFxFlexOffsetToTailwind($element, fxFlexOffset ?? '', fxFlexOffsetBreakpoint); + } - if (fxHide !== undefined) { - convertFxHideToTailwind($element, fxHide, fxHideBreakpoint); - } + if (fxHide !== undefined) { + convertFxHideToTailwind($element, fxHide, fxHideBreakpoint); + } - if (fxShow !== undefined) { - convertFxShowToTailwind($element, fxShow, fxShowBreakpoint); - } + if (fxShow !== undefined) { + convertFxShowToTailwind($element, fxShow, fxShowBreakpoint); + } + }); }); }