Skip to content

Commit fa557ce

Browse files
Apply suggestion from @JamieB-gu
Co-authored-by: Jamie B <[email protected]>
1 parent 6ae7670 commit fa557ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dotcom-rendering/src/components/ProductCardInline.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ export const ProductCardInline = ({
162162
return (
163163
<div
164164
css={[
165-
isCardOnly && productCard,
166-
!isCardOnly && showcaseCard,
165+
isCardOnly ? productCard : showcaseCard,
167166
shouldShowLeftColCard && !isCardOnly && hideFromWide,
168167
]}
169168
>

0 commit comments

Comments
 (0)