update browser history to go back when exiting open and about, fixes #85
This commit is contained in:
parent
14a51b6332
commit
95daa80fc1
2 changed files with 2 additions and 2 deletions
|
@ -27,5 +27,5 @@ export function getProjects(username) {
|
|||
}
|
||||
|
||||
export function closeSketchList() {
|
||||
browserHistory.push('/');
|
||||
browserHistory.goBack();
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import { browserHistory } from 'react-router';
|
|||
|
||||
class About extends React.Component {
|
||||
closeAboutModal() {
|
||||
browserHistory.push('/');
|
||||
browserHistory.goBack();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in a new issue