Fix report link #128
2 changed files with 12 additions and 1 deletions
|
@ -2,6 +2,13 @@ import React from 'react'
|
|||
import {
|
||||
connect
|
||||
} from 'react-redux'
|
||||
import {
|
||||
doNavigate,
|
||||
} from 'actions/app'
|
||||
import HelpPage from './view'
|
||||
|
||||
export default connect(null, null)(HelpPage)
|
||||
const perform = (dispatch) => ({
|
||||
navigate: (path) => dispatch(doNavigate(path)),
|
||||
})
|
||||
|
||||
export default connect(null, perform)(HelpPage)
|
||||
|
|
|
@ -29,6 +29,10 @@ class HelpPage extends React.Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
navigate,
|
||||
} = this.props
|
||||
|
||||
let ver, osName, platform, newVerLink;
|
||||
if (this.state.versionInfo) {
|
||||
ver = this.state.versionInfo;
|
||||
|
|
Loading…
Reference in a new issue