Ui 2 complete MUI removal (#5635)
* Convert DateTime input component * Remove muiTheme context
This commit is contained in:
@@ -29,7 +29,6 @@ import ContractInstances from '@parity/shared/contracts';
|
||||
import { initStore } from '@parity/shared/redux';
|
||||
import { patchApi } from '@parity/shared/util/tx';
|
||||
import ContextProvider from '@parity/ui/ContextProvider';
|
||||
import muiTheme from '@parity/ui/Theme';
|
||||
|
||||
import SecureApi from '~/secureApi';
|
||||
|
||||
@@ -98,7 +97,6 @@ window.secureApi = api;
|
||||
ReactDOM.render(
|
||||
<ContextProvider
|
||||
api={ api }
|
||||
muiTheme={ muiTheme }
|
||||
store={ store }
|
||||
>
|
||||
<ParityBar dapp externalLink={ 'http://127.0.0.1:8180' } />
|
||||
|
||||
@@ -34,7 +34,6 @@ import HistoryStore from '@parity/shared/mobx/historyStore';
|
||||
import { initStore } from '@parity/shared/redux';
|
||||
import { patchApi } from '@parity/shared/util/tx';
|
||||
import ContextProvider from '@parity/ui/ContextProvider';
|
||||
import muiTheme from '@parity/ui/Theme';
|
||||
|
||||
import '@parity/shared/environment';
|
||||
|
||||
@@ -83,7 +82,7 @@ function onEnterDapp ({ params }) {
|
||||
}
|
||||
|
||||
ReactDOM.render(
|
||||
<ContextProvider api={ api } muiTheme={ muiTheme } store={ store }>
|
||||
<ContextProvider api={ api } store={ store }>
|
||||
<Router history={ hashHistory }>
|
||||
<Route path='/' component={ Application }>
|
||||
<Redirect from='/auth' to='/' />
|
||||
|
||||
Reference in New Issue
Block a user