Skip to content

Commit

Permalink
Move react-lifecycles-compat to dependencies and upgrade it to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi authored and diasbruno committed Apr 13, 2018
1 parent f748406 commit 4887c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"prettier": "^1.7.4",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-lifecycles-compat": "^1.1.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"should": "^13.1.0",
Expand All @@ -64,6 +63,7 @@
"dependencies": {
"exenv": "^1.2.0",
"prop-types": "^15.5.10",
"react-lifecycles-compat": "^3.0.0",
"warning": "^3.0.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ModalPortal from "./ModalPortal";
import * as ariaAppHider from "../helpers/ariaAppHider";
import SafeHTMLElement, { canUseDOM } from "../helpers/safeHTMLElement";

import polyfill from "react-lifecycles-compat";
import { polyfill } from "react-lifecycles-compat";

export const portalClassName = "ReactModalPortal";
export const bodyOpenClassName = "ReactModal__Body--open";
Expand Down

0 comments on commit 4887c69

Please sign in to comment.