We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a622f2 commit 3f9d798Copy full SHA for 3f9d798
1 file changed
components/page-header/ProductPicker.tsx
@@ -17,7 +17,7 @@ export const ProductPicker = () => {
17
defaultText="All products"
18
options={activeProducts.map((product) => ({
19
text: product.name,
20
- selected: product === currentProduct,
+ selected: product.name === currentProduct?.name,
21
item: (
22
<Link href={`${product.external ? '' : `/${router.locale}`}${product.href}`}>
23
{product.name}
0 commit comments