chore(v2): upgrade Infima to v0.2.0-alpha.18 (#3807)

This commit is contained in:
Alexey Pyltsyn 2020-11-24 13:00:30 +03:00 committed by GitHub
parent 9ca85cfff6
commit a9e27da09f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 12 deletions

View file

@ -32,7 +32,7 @@
"@types/react-toggle": "^4.0.2",
"clsx": "^1.1.1",
"copy-text-to-clipboard": "^2.2.0",
"infima": "0.2.0-alpha.17",
"infima": "0.2.0-alpha.18",
"joi": "^17.2.1",
"lodash": "^4.17.19",
"parse-numeric-range": "^1.2.0",

View file

@ -47,13 +47,6 @@ function DocPageContent({
}
setHiddenSidebarContainer(!hiddenSidebarContainer);
if (
!hiddenSidebar &&
window.matchMedia('(prefers-reduced-motion: reduce)').matches
) {
setHiddenSidebar(true);
}
}, [hiddenSidebar]);
return (