humus-old/client/ui/index.js
2019-04-23 03:25:37 -05:00

18 lines
401 B
JavaScript

// 3rd party.
import React from 'react';
import {hot} from 'react-hot-loader/root';
// 1st party.
import ConnectionStatus from './connection-status';
import Damage from './damage';
import Menu from './menu';
const Ui = ({app}) => {
return <React.Fragment>
<Damage app={app} />
<Menu app={app} />
<ConnectionStatus socket={app.socket} />
</React.Fragment>;
};
export default hot(Ui);