diff --git a/packages/web-react/src/components/Box/useBoxStyleProps.ts b/packages/web-react/src/components/Box/useBoxStyleProps.ts index 5fc0ae89f0..b36a07a445 100644 --- a/packages/web-react/src/components/Box/useBoxStyleProps.ts +++ b/packages/web-react/src/components/Box/useBoxStyleProps.ts @@ -13,14 +13,7 @@ export interface UseBoxStyleProps { export const useBoxStyleProps = ( props: Partial>, ): UseBoxStyleProps>> => { - const { - backgroundColor, - borderColor, - borderRadius, - borderStyle, - borderWidth, - ...restProps - } = props || {}; + const { backgroundColor, borderColor, borderRadius, borderStyle, borderWidth, ...restProps } = props || {}; const boxBackgroundColor = backgroundColor ? `bg-${backgroundColor}` : ''; let boxBorderColor = borderColor ? borderColor.replace('', 'border-') : ''; let boxBorderRadius = '';