move toast component to common folder
This commit is contained in:
parent
86899e6368
commit
7145d37066
@ -11,7 +11,7 @@ import ActivityCheckContainer from '/imports/ui/components/activity-check/contai
|
||||
import UserInfoContainer from '/imports/ui/components/user-info/container';
|
||||
import BreakoutRoomInvitation from '/imports/ui/components/breakout-room/invitation/container';
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import ToastContainer from '../toast/container';
|
||||
import ToastContainer from '/imports/ui/components/common/toast/container';
|
||||
import PadsSessionsContainer from '/imports/ui/components/pads/sessions/container';
|
||||
import ModalContainer from '/imports/ui/components/common/modal/container';
|
||||
import NotificationsBarContainer from '../notifications-bar/container';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { withTracker } from 'meteor/react-meteor-data';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
|
||||
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
|
||||
import humanizeSeconds from '/imports/utils/humanizeSeconds';
|
||||
import _ from 'lodash';
|
||||
import BreakoutRemainingTimeComponent from './component';
|
||||
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import _ from 'lodash';
|
||||
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
|
||||
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
|
||||
import AudioService from '/imports/ui/components/audio/service';
|
||||
import ChatPushAlert from './push-alert/component';
|
||||
import Service from '../service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
|
||||
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
|
||||
import { PANELS, ACTIONS } from '../../../layout/enums';
|
||||
|
||||
const propTypes = {
|
||||
|
@ -13,7 +13,7 @@ import {
|
||||
fontSizeLarger,
|
||||
} from '/imports/ui/stylesheets/styled-components/typography';
|
||||
import FullscreenButtonContainer from '/imports/ui/components/common/fullscreen-button/container';
|
||||
import ToastStyled from '/imports/ui/components/toast/styles';
|
||||
import ToastStyled from '/imports/ui/components/common/toast/styles';
|
||||
|
||||
const VisuallyHidden = styled.span`
|
||||
position: absolute;
|
||||
|
@ -20,7 +20,7 @@ import {
|
||||
fontSizeSmall,
|
||||
} from '/imports/ui/stylesheets/styled-components/typography';
|
||||
import Button from '/imports/ui/components/common/button/component';
|
||||
import ToastStyled from '/imports/ui/components/toast/styles';
|
||||
import ToastStyled from '/imports/ui/components/common/toast/styles';
|
||||
|
||||
const Avatar = styled.div`
|
||||
cursor: pointer;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { Component } from 'react';
|
||||
import _ from 'lodash';
|
||||
import injectNotify from '/imports/ui/components/toast/inject-notify/component';
|
||||
import injectNotify from '/imports/ui/components/common/toast/inject-notify/component';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import Settings from '/imports/ui/services/settings';
|
||||
import Styled from './styles';
|
||||
|
@ -3,7 +3,7 @@ import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import { toast } from 'react-toastify';
|
||||
|
||||
import Toast from '/imports/ui/components/toast/component';
|
||||
import Toast from '/imports/ui/components/common/toast/component';
|
||||
|
||||
let lastToast = {
|
||||
id: null,
|
||||
|
Loading…
Reference in New Issue
Block a user