mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 10:52:41 +03:00
16 lines
403 B
JavaScript
16 lines
403 B
JavaScript
import * as React from "react";
|
|
|
|
import Application from "~/components/core/Application";
|
|
|
|
export const getServerSideProps = async ({ query }) => {
|
|
return {
|
|
props: { viewer: query.viewer, analytics: query.analytics },
|
|
};
|
|
};
|
|
|
|
export default class ApplicationPage extends React.Component {
|
|
render() {
|
|
return <Application viewer={this.props.viewer} analytics={this.props.analytics} />;
|
|
}
|
|
}
|