mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-30 02:12:38 +03:00
28 lines
594 B
JavaScript
28 lines
594 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,
|
|
mobile: query.mobile,
|
|
resources: query.resources,
|
|
},
|
|
};
|
|
};
|
|
|
|
export default class ApplicationPage extends React.Component {
|
|
render() {
|
|
return (
|
|
<Application
|
|
viewer={this.props.viewer}
|
|
analytics={this.props.analytics}
|
|
mobile={this.props.mobile}
|
|
resources={this.props.resources}
|
|
/>
|
|
);
|
|
}
|
|
}
|