// Copyright 2017-2018 @polkadot/app-explorer authors & contributors // This software may be modified and distributed under the terms // of the ISC license. See the LICENSE file for details. import { I18nProps } from '@polkadot/ui-app/types'; import BN from 'bn.js'; import React from 'react'; import CardSummary from '@polkadot/ui-app/CardSummary'; import withObservable from '@polkadot/ui-react-rx/with/observable'; import withMulti from '@polkadot/ui-react-rx/with/multi'; import translate from './translate'; type Props = I18nProps & { eraBlockLength?: BN, eraBlockProgress?: BN, sessionBlockProgress?: BN, sessionBrokenValue?: BN, sessionBrokenPercentLate?: BN, sessionLength?: BN }; class SummarySession extends React.PureComponent { render () { const { eraBlockLength, eraBlockProgress, sessionBlockProgress, sessionBrokenValue, sessionBrokenPercentLate, sessionLength, t } = this.props; return [ , , ]; } } export default withMulti( SummarySession, translate, withObservable('eraBlockLength'), withObservable('eraBlockProgress'), withObservable('sessionBlockProgress'), withObservable('sessionBrokenValue'), withObservable('sessionLength'), withObservable('sessionBrokenPercentLate') );