We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37392ef commit 101d84aCopy full SHA for 101d84a
src/components/variant-select.js
@@ -58,7 +58,7 @@ const VariantMenu = ({title, latest, current, prerelease, legacy}) => {
58
if (locationChange.change && getNav.didVariantChange(locationChange.previous, locationChange.current)) {
59
setOpen(false)
60
}
61
- }, [locationChange])
+ }, [locationChange.change, locationChange.current, locationChange.previous])
62
63
return (
64
<>
0 commit comments