2017-10-06 20:50:01 +08:00
|
|
|
import React from 'react';
|
2018-01-08 12:44:42 +08:00
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
2016-12-08 23:40:11 +08:00
|
|
|
|
|
|
|
import AboutComponent from './component';
|
|
|
|
|
2021-08-09 22:24:02 +08:00
|
|
|
const AboutContainer = (props) => {
|
|
|
|
const { children } = props;
|
|
|
|
return (
|
|
|
|
<AboutComponent {...props}>
|
|
|
|
{children}
|
|
|
|
</AboutComponent>
|
|
|
|
);
|
|
|
|
};
|
2016-12-08 23:40:11 +08:00
|
|
|
|
2021-08-09 22:24:02 +08:00
|
|
|
const getClientBuildInfo = () => (
|
|
|
|
{
|
2016-12-08 23:40:11 +08:00
|
|
|
clientBuild: Meteor.settings.public.app.html5ClientBuild,
|
|
|
|
copyright: Meteor.settings.public.app.copyright,
|
2021-08-09 22:24:02 +08:00
|
|
|
}
|
|
|
|
);
|
2016-12-08 23:40:11 +08:00
|
|
|
|
2018-01-08 12:44:42 +08:00
|
|
|
export default withTracker(() => getClientBuildInfo())(AboutContainer);
|