update browser history to go back when exiting open and about, fixes #85

This commit is contained in:
catarak 2016-09-06 22:46:49 -04:00
parent 14a51b6332
commit 95daa80fc1
2 changed files with 2 additions and 2 deletions

View File

@ -27,5 +27,5 @@ export function getProjects(username) {
}
export function closeSketchList() {
browserHistory.push('/');
browserHistory.goBack();
}

View File

@ -5,7 +5,7 @@ import { browserHistory } from 'react-router';
class About extends React.Component {
closeAboutModal() {
browserHistory.push('/');
browserHistory.goBack();
}
render() {