diff --git a/embark-ui/src/reducers/index.js b/embark-ui/src/reducers/index.js index 3b941247..47795b15 100644 --- a/embark-ui/src/reducers/index.js +++ b/embark-ui/src/reducers/index.js @@ -87,6 +87,7 @@ function entities(state = entitiesDefaultState, action) { } function errorMessage(state = null, action) { + return action.error || state; } function loading(_state = false, action) { diff --git a/embark-ui/src/routes.js b/embark-ui/src/routes.js index 8b3158b5..346b510f 100644 --- a/embark-ui/src/routes.js +++ b/embark-ui/src/routes.js @@ -2,6 +2,7 @@ import React from 'react'; import {Route, Switch} from 'react-router-dom'; import HomeContainer from './containers/HomeContainer'; +import AccountsContainer from './containers/AccountsContainer'; import ContractsContainer from './containers/ContractsContainer'; import NoMatch from './components/NoMatch'; import ExplorerLayout from './components/ExplorerLayout';