Fixes pending/mined transactions in registry dApp (#3004)
* Fixing React Errors * Fixes pending and mined events in Registry dApp (#2930) * PR grumbles (#2930)
This commit is contained in:
committed by
Gav Wood
parent
568a18d8bd
commit
8bf577e0fe
@@ -13,7 +13,6 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
|
||||
import getMuiTheme from 'material-ui/styles/getMuiTheme';
|
||||
@@ -35,6 +34,7 @@ export default class Application extends Component {
|
||||
muiTheme: PropTypes.object.isRequired,
|
||||
api: PropTypes.object.isRequired
|
||||
};
|
||||
|
||||
getChildContext () {
|
||||
return { muiTheme, api: window.parity.api };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user