slate/pages/application.js

16 lines
336 B
JavaScript
Raw Normal View History

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