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:
Nicolas Gotchac
2016-10-31 12:56:53 +01:00
committed by Gav Wood
parent 568a18d8bd
commit 8bf577e0fe
4 changed files with 51 additions and 13 deletions

View File

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