diff --git a/src/components/Portal/index.js b/src/components/Portal/index.js index 518ab929..ba81ea1c 100644 --- a/src/components/Portal/index.js +++ b/src/components/Portal/index.js @@ -6,7 +6,6 @@ * @flow */ -import invariant from 'fbjs/lib/invariant' import Platform from '../../apis/Platform' import React, { Component, PropTypes } from 'react' import StyleSheet from '../../apis/StyleSheet' @@ -81,10 +80,6 @@ class Portal extends Component { } render() { - invariant( - _portalRef === this || _portalRef === undefined, - 'More than one Portal instance detected. Never use in your code.' - ) _portalRef = this if (!this.state.modals) { return null } const modals = []