diff options
Diffstat (limited to 'src/routes.tsx')
-rw-r--r-- | src/routes.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/routes.tsx b/src/routes.tsx index b8f649740..490d13ee8 100644 --- a/src/routes.tsx +++ b/src/routes.tsx | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Component } from 'react'; | 1 | import { Component, ReactElement } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | import { Router, Route, IndexRedirect } from 'react-router'; | 3 | import { Router, Route, IndexRedirect } from 'react-router'; |
4 | 4 | ||
@@ -31,8 +31,7 @@ type Props = { | |||
31 | }; | 31 | }; |
32 | 32 | ||
33 | class Routes extends Component<Props> { | 33 | class Routes extends Component<Props> { |
34 | render() { | 34 | render(): ReactElement { |
35 | |||
36 | const { history } = this.props; | 35 | const { history } = this.props; |
37 | 36 | ||
38 | return ( | 37 | return ( |