From 42b4395437d7466eb1bf98af319803f6455204dc Mon Sep 17 00:00:00 2001 From: Mohit5Upadhyay Date: Sun, 6 Jul 2025 15:04:15 +0530 Subject: [PATCH] fix(docs): update VariantItem link implementation and separate CLI version docs Closes npm/cli#8414 --- src/components/variant-select.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/variant-select.js b/src/components/variant-select.js index b04f0271762..516fc1d9786 100644 --- a/src/components/variant-select.js +++ b/src/components/variant-select.js @@ -14,11 +14,16 @@ const StyledOverlay = styled(ActionMenu.Overlay)` box-shadow: var(--shadow-resting-medium, 0 3px 6px rgba(140, 149, 159, 0.15)); ` -const VariantItem = ({title, shortName, url, active}) => ( - - {title} - -) +const VariantItem = ({title, shortName, url, active}) => { + return ( + + + {title} + + ) +} const useVariantFocus = () => { const locationChange = useLocationChange()