/* @flow */ import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { H2 } from '~/js/components/common/Heading'; import * as LogActions from '~/js/actions/LogActions'; import type { State, Dispatch } from '~/flowtype'; const Log = (props: Props): ?React$Element => { if (!props.log.opened) return null; return (