functional app new
@@ -19,9 +19,8 @@ interface Props extends WithStyles<typeof styles> {
dispatch: ThunkDispatch<RootState, undefined, Actions>;
}
-class ApplicationNewRaw extends React.PureComponent<Props> {
- public render() {
- const { classes } = this.props;
+const ApplicationNewRaw: React.FC<Props> = (props) => {
+ const { classes } = props;
return (
<BasePage secondHeaderRight={<H6>Create Application</H6>}>
<div className={classes.root}>
@@ -33,7 +32,6 @@ class ApplicationNewRaw extends React.PureComponent<Props> {
</div>
</BasePage>
);
- }
-}
+};
export const ApplicationNewPage = withStyles(styles)(connect()(ApplicationNewRaw));
