Browse Source

import only Overlay from react-overlays (#5235)

master
Nolan Lawson 7 years ago
committed by Eugen Rochko
parent
commit
2aca22b8ea
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      app/javascript/mastodon/components/dropdown_menu.js
  2. +1
    -1
      app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
  3. +1
    -1
      app/javascript/mastodon/features/compose/components/privacy_dropdown.js
  4. +1
    -1
      app/javascript/mastodon/features/compose/components/search.js

+ 1
- 1
app/javascript/mastodon/components/dropdown_menu.js View File

@ -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';

+ 1
- 1
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js View File

@ -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';

+ 1
- 1
app/javascript/mastodon/features/compose/components/privacy_dropdown.js View File

@ -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';

+ 1
- 1
app/javascript/mastodon/features/compose/components/search.js View File

@ -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({

Loading…
Cancel
Save