mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
chore(v2): upgrade Infima to v0.2.0-alpha.18 (#3807)
This commit is contained in:
parent
9ca85cfff6
commit
a9e27da09f
3 changed files with 5 additions and 12 deletions
|
@ -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",
|
||||
|
|
|
@ -47,13 +47,6 @@ function DocPageContent({
|
|||
}
|
||||
|
||||
setHiddenSidebarContainer(!hiddenSidebarContainer);
|
||||
|
||||
if (
|
||||
!hiddenSidebar &&
|
||||
window.matchMedia('(prefers-reduced-motion: reduce)').matches
|
||||
) {
|
||||
setHiddenSidebar(true);
|
||||
}
|
||||
}, [hiddenSidebar]);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue