@@ -253,16 +253,16 @@ const SelectProducts = (props: SelectProductsProps) => {
253253 let productIndex = 0 ;
254254
255255 return (
256- ( < div className = { 'hi-product-widget-container' }
257- ref = { resizeRef }
258- style = { {
259- '--widget-background-color' : props . colors ?. background ,
260- '--widget-primary-color' : props . colors ?. primary ,
261- '--widget-primary-text-color' : props . colors ?. primaryText ,
262- '--widget-secondary-color' : props . colors ?. secondary ,
263- '--widget-secondary-text-color' : props . colors ?. secondaryText ,
264- '--widget-padding' : props ?. padding ,
265- } as React . CSSProperties } >
256+ < div className = { 'hi-product-widget-container' }
257+ ref = { resizeRef }
258+ style = { {
259+ '--widget-background-color' : props . colors ?. background ,
260+ '--widget-primary-color' : props . colors ?. primary ,
261+ '--widget-primary-text-color' : props . colors ?. primaryText ,
262+ '--widget-secondary-color' : props . colors ?. secondary ,
263+ '--widget-secondary-text-color' : props . colors ?. secondaryText ,
264+ '--widget-padding' : props ?. padding ,
265+ } as React . CSSProperties } >
266266 { ! productAreAvailable && (
267267 < div className = { classNames ( [ 'hi-no-products' ] ) } >
268268 < p className = { classNames ( [ 'hi-no-products-message' ] ) } >
@@ -497,7 +497,7 @@ const SelectProducts = (props: SelectProductsProps) => {
497497 < PoweredByFooter style = { {
498498 'color' : props . colors ?. primaryText || '#000' ,
499499 } } />
500- </ div > )
500+ </ div >
501501 ) ;
502502}
503503
0 commit comments