Skip to content

Commit 3f9d798

Browse files
author
Peter Bengtsson
authored
render same DOM in SSR as client (#24078)
1 parent 1a622f2 commit 3f9d798

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/page-header/ProductPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const ProductPicker = () => {
1717
defaultText="All products"
1818
options={activeProducts.map((product) => ({
1919
text: product.name,
20-
selected: product === currentProduct,
20+
selected: product.name === currentProduct?.name,
2121
item: (
2222
<Link href={`${product.external ? '' : `/${router.locale}`}${product.href}`}>
2323
{product.name}

0 commit comments

Comments
 (0)