diff --git a/package.json b/package.json index e7178ed..d715430 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "postcss-loader": "^1.1.0", "postcss-neat": "^2.5.2", "react-remarkable": "^1.1.1", - "react-stickynode": "^1.2.1", "react-styleguidist": "beta", "react-test-renderer": "^15.4.0", "ripcord": "^0.25.5", @@ -54,6 +53,7 @@ "standard": "^9.0.0", "style-loader": "^0.13.2", "url": "^0.11.0", + "url-loader": "^0.5.7", "webpack": "^1.13.1" }, "dependencies": { diff --git a/src/components/LeftNav/LeftNav.jsx b/src/components/LeftNav/LeftNav.jsx index 40ee24e..cdb319d 100644 --- a/src/components/LeftNav/LeftNav.jsx +++ b/src/components/LeftNav/LeftNav.jsx @@ -1,6 +1,5 @@ import React from 'react' import LeftNavMenuItem from './LeftNavMenuItem' -import Sticky from 'react-stickynode' import '../../styles/components/left-nav.css' class LeftNav extends React.Component { static MenuItem = LeftNavMenuItem @@ -8,11 +7,11 @@ class LeftNav extends React.Component { render () { return (
- - - + + +
) } diff --git a/yarn.lock b/yarn.lock index eb9379d..a53e219 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6115,7 +6115,7 @@ mime-types@^2.1.11, mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.13, dependencies: mime-db "~1.26.0" -mime@1.3.4, mime@^1.2.11, mime@^1.3.4: +mime@1.3.4, mime@1.3.x, mime@^1.2.11, mime@^1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" @@ -9970,6 +9970,13 @@ urix@^0.1.0, urix@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" +url-loader@^0.5.7: + version "0.5.8" + resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-0.5.8.tgz#b9183b1801e0f847718673673040bc9dc1c715c5" + dependencies: + loader-utils "^1.0.2" + mime "1.3.x" + url-parse-lax@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73"