diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-10-05 18:24:33 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-06 03:24:33 +0200 |
commit | 2aca22b8ea6846c7219ee895d02dabddb3f8a3db (patch) | |
tree | 181692682c320da7962567f518e1b9e5e23945c5 | |
parent | 7db0f8dcb2110b4ec8815bedc965cfbd01a59798 (diff) |
import only Overlay from react-overlays (#5235)
4 files changed, 4 insertions, 4 deletions
diff --git a/app/javascript/mastodon/components/dropdown_menu.js b/app/javascript/mastodon/components/dropdown_menu.js index c0fbcab6d..7b72d013c 100644 --- a/app/javascript/mastodon/components/dropdown_menu.js +++ b/app/javascript/mastodon/components/dropdown_menu.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import IconButton from './icon_button'; -import { Overlay } from 'react-overlays'; +import Overlay from 'react-overlays/lib/Overlay'; import { Motion, spring } from 'react-motion'; import detectPassiveEvents from 'detect-passive-events'; diff --git a/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js b/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js index b89ce0d87..bbc6b7a16 100644 --- a/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js +++ b/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { EmojiPicker as EmojiPickerAsync } from '../../ui/util/async-components'; -import { Overlay } from 'react-overlays'; +import Overlay from 'react-overlays/lib/Overlay'; import classNames from 'classnames'; import ImmutablePropTypes from 'react-immutable-proptypes'; import detectPassiveEvents from 'detect-passive-events'; diff --git a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js index d5bb58712..2f353d608 100644 --- a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js +++ b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl, defineMessages } from 'react-intl'; import IconButton from '../../../components/icon_button'; -import { Overlay } from 'react-overlays'; +import Overlay from 'react-overlays/lib/Overlay'; import { Motion, spring } from 'react-motion'; import detectPassiveEvents from 'detect-passive-events'; import classNames from 'classnames'; diff --git a/app/javascript/mastodon/features/compose/components/search.js b/app/javascript/mastodon/features/compose/components/search.js index 4c3f0dcb5..ae40642a2 100644 --- a/app/javascript/mastodon/features/compose/components/search.js +++ b/app/javascript/mastodon/features/compose/components/search.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; -import { Overlay } from 'react-overlays'; +import Overlay from 'react-overlays/lib/Overlay'; import { Motion, spring } from 'react-motion'; const messages = defineMessages({ |