diff options
Merge branch 'develop' into network-remove-provider-engine
Diffstat (limited to 'ui/app/components/network-display/network-display.container.js')
-rw-r--r-- | ui/app/components/network-display/network-display.container.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/app/components/network-display/network-display.container.js b/ui/app/components/network-display/network-display.container.js new file mode 100644 index 000000000..99a14fff4 --- /dev/null +++ b/ui/app/components/network-display/network-display.container.js @@ -0,0 +1,11 @@ +import { connect } from 'react-redux' +import NetworkDisplay from './network-display.component' + +const mapStateToProps = ({ metamask: { network, provider } }) => { + return { + network, + provider, + } +} + +export default connect(mapStateToProps)(NetworkDisplay) |