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 2447450 commit 37392efCopy full SHA for 37392ef
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.change, locationChange.current, locationChange.previous])
+ }, [locationChange])
62
63
return (
64
<>
0 commit comments