move toast component to common folder

This commit is contained in:
Ramón Souza 2022-02-15 17:57:50 +00:00
parent 86899e6368
commit 7145d37066
12 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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,