Skip to content

Commit

Permalink
refactor: show the correct product name
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocarels90 committed Jul 3, 2023
1 parent 46aa701 commit be6c5e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function ConfigurableProductPageDescription(props: ConfigurableProductPag
sx={sx}
top={
<Typography variant='h1' component='h1'>
{simpleProduct?.name && name}
{simpleProduct?.name ?? name}
</Typography>
}
left={
Expand Down

0 comments on commit be6c5e1

Please sign in to comment.