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 65699af commit 642ed13Copy full SHA for 642ed13
src/components/variant-select.js
@@ -45,7 +45,7 @@ const VariantMenu = ({title, latest, current, prerelease, legacy}) => {
45
if (locationChange.change && getNav.didVariantChange(locationChange.previous, locationChange.current)) {
46
setOpen(false)
47
}
48
- }, [locationChange])
+ }, [locationChange.change, locationChange.current, locationChange.previous])
49
50
return (
51
<>
0 commit comments