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