Skip to content

Commit

Permalink
Remove unused react-lifecycles-compat lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgio committed Feb 1, 2019
1 parent 4537b25 commit af3ef7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"lodash": "^4.17.2",
"prop-types": "^15.5.8",
"prop-types-extra": "^1.0.1",
"react-lifecycles-compat": "^3.0.4",
"react-overlays": "^0.8.1",
"react-popper": "^1.0.0",
"warning": "^4.0.1"
Expand Down
3 changes: 0 additions & 3 deletions src/containers/contextContainer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {pick} from 'lodash';
import React from 'react';
import {polyfill} from 'react-lifecycles-compat';

import TypeaheadContext from '../TypeaheadContext';
import {getHintText, getIsOnlyResult} from '../utils';
Expand Down Expand Up @@ -60,8 +59,6 @@ function contextContainer(Typeahead) {
}
}

polyfill(WrappedTypeahead);

return WrappedTypeahead;
}

Expand Down

0 comments on commit af3ef7c

Please sign in to comment.