2020-07-16 08:48:51 +03:00
|
|
|
import * as React from "react";
|
|
|
|
|
2020-07-29 19:07:13 +03:00
|
|
|
import Application from "~/components/core/Application";
|
2020-07-16 08:48:51 +03:00
|
|
|
|
2020-08-19 21:44:18 +03:00
|
|
|
export const getServerSideProps = async ({ query }) => {
|
2020-07-16 08:48:51 +03:00
|
|
|
return {
|
2020-08-14 12:17:19 +03:00
|
|
|
props: { viewer: query.viewer, analytics: query.analytics },
|
2020-07-16 08:48:51 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export default class ApplicationPage extends React.Component {
|
|
|
|
render() {
|
2020-08-19 21:17:12 +03:00
|
|
|
return <Application viewer={this.props.viewer} analytics={this.props.analytics} />;
|
2020-07-16 08:48:51 +03:00
|
|
|
}
|
|
|
|
}
|