/* @flow */ 'use strict'; import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import * as LogActions from '../../actions/LogActions'; const Log = (props: any) => { if (!props.log.opened) return null; return (

Log

Attention: The log contains your XPUBs. Anyone with your XPUBs can see your account history.

) } export default connect( (state) => { return { log: state.log }; }, (dispatch) => { return { toggle: bindActionCreators(LogActions.toggle, dispatch), }; } )(Log);