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 3f1b461 commit 0e11919Copy full SHA for 0e11919
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.change, locationChange.current, locationChange.previous])
+ }, [locationChange])
49
50
return (
51
<>
0 commit comments