16 lines
393 B
JavaScript
16 lines
393 B
JavaScript
// 3rd party.
|
|
import React from 'react';
|
|
import {hot} from 'react-hot-loader/root';
|
|
// 1st party.
|
|
import Throughput from './throughput';
|
|
import WorldTime from './world-time';
|
|
|
|
const Ui = ({throughputTicker, worldTimeTicker}) => {
|
|
return <React.Fragment>
|
|
<WorldTime ticker={worldTimeTicker} />
|
|
<Throughput ticker={throughputTicker} />
|
|
</React.Fragment>;
|
|
};
|
|
|
|
export default hot(Ui);
|