refactor: import emotion-theming methods from @superset-ui/style (#10157)

This makes the code cleaner and fixes missing theme variables when `npm link @superset-ui/style`.
This commit is contained in:
Jesse Yang
2020-06-24 19:23:51 -07:00
committed by GitHub
parent 7a794ed684
commit ecb44a4243
14 changed files with 13 additions and 27 deletions

View File

@@ -21,8 +21,7 @@ import { mount } from 'enzyme';
import thunk from 'redux-thunk';
import configureStore from 'redux-mock-store';
import fetchMock from 'fetch-mock';
import { ThemeProvider } from 'emotion-theming';
import { supersetTheme } from '@superset-ui/style';
import { supersetTheme, ThemeProvider } from '@superset-ui/style';
import ChartList from 'src/views/chartList/ChartList';
import ListView from 'src/components/ListView/ListView';