mirror of
https://github.com/apache/superset.git
synced 2026-07-13 10:15:58 +00:00
chore: Moves messageToasts to the components folder (#14431)
* chore: Moves messageToasts to the components folder * Rebases
This commit is contained in:
committed by
GitHub
parent
b6d78bf4f2
commit
9b17e86b44
@@ -21,7 +21,7 @@ import { render, screen } from 'spec/helpers/testing-library';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import fetchMock from 'fetch-mock';
|
||||
import URLShortLinkButton from 'src/components/URLShortLinkButton';
|
||||
import ToastPresenter from 'src/messageToasts/containers/ToastPresenter';
|
||||
import ToastContainer from 'src/components/MessageToasts/ToastContainer';
|
||||
|
||||
const fakeUrl = 'http://fakeurl.com';
|
||||
|
||||
@@ -65,7 +65,7 @@ test('renders error message on short url error', async () => {
|
||||
render(
|
||||
<>
|
||||
<URLShortLinkButton />
|
||||
<ToastPresenter />
|
||||
<ToastContainer />
|
||||
</>,
|
||||
{ useRedux: true },
|
||||
);
|
||||
|
||||
@@ -22,7 +22,7 @@ import { t } from '@superset-ui/core';
|
||||
import Popover from 'src/components/Popover';
|
||||
import CopyToClipboard from 'src/components/CopyToClipboard';
|
||||
import { getShortUrl } from 'src/utils/urlUtils';
|
||||
import withToasts from 'src/messageToasts/enhancers/withToasts';
|
||||
import withToasts from 'src/components/MessageToasts/withToasts';
|
||||
|
||||
const propTypes = {
|
||||
url: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user