Skip to content

Commit

Permalink
chore(v2): upgrade Infima to v0.2.0-alpha.18 (#3807)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Nov 24, 2020
1 parent 9ca85cf commit a9e27da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 0 additions & 7 deletions packages/docusaurus-theme-classic/src/theme/DocPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ function DocPageContent({
}

setHiddenSidebarContainer(!hiddenSidebarContainer);

if (
!hiddenSidebar &&
window.matchMedia('(prefers-reduced-motion: reduce)').matches
) {
setHiddenSidebar(true);
}
}, [hiddenSidebar]);

return (
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10790,10 +10790,10 @@ infer-owner@^1.0.3, infer-owner@^1.0.4:
resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467"
integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==

infima@0.2.0-alpha.17:
version "0.2.0-alpha.17"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.17.tgz#c3b472e6504cb142c673c1d4a1f118fe2a60a961"
integrity sha512-pzUfgqbgFSP5GqA5D617+pjPvuFNRdOKBkQ9PuErvQfLPPBCVncR+tyDveUleCYrE1Uk7fKSjSpRM35GGHyypA==
infima@0.2.0-alpha.18:
version "0.2.0-alpha.18"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.18.tgz#8ac62711f13ef99b1f4a45b3ac14571722a2ccf6"
integrity sha512-ndSEffXzjgM/eiSm5jpLTX6ON9MmylzxqBnV2bTiC3kCSyDYdvzTs+bSwf+C4TWayuqnRTnBK1JUePo3m6Bnfg==

inflight@^1.0.4:
version "1.0.6"
Expand Down

0 comments on commit a9e27da

Please sign in to comment.