mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 22:12:19 +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} />;
|
|
}
|
|
}
|