Simplifications in ReactSpa and ReactReduxSpa

This commit is contained in:
Steve Sanderson
2017-05-17 12:44:12 +01:00
parent 785e7d48a2
commit e658ee6375
8 changed files with 28 additions and 28 deletions

View File

@@ -1,6 +1,7 @@
import * as React from 'react';
import { RouteComponentProps } from 'react-router-dom';
export default class Home extends React.Component<{}, {}> {
export default class Home extends React.Component<RouteComponentProps<{}>, {}> {
public render() {
return <div>
<h1>Hello, world!</h1>