Skip to content

Commit 711b9fe

Browse files
author
Emmanouil Konstantinidis
committed
Close settings if open already
1 parent 7475f3e commit 711b9fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/js/components/navigation.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ var Navigation = React.createClass({
8484
}
8585
if (this.getPath() === '/settings') {
8686
backIcon = (
87-
<i onClick={this.goBack} className='fa fa-chevron-left' />
87+
<i className='fa fa-chevron-left' onClick={this.goBack} />
88+
);
89+
settingsIcon = (
90+
<i className='fa fa-cog' onClick={this.goBack} />
8891
);
8992
}
9093

0 commit comments

Comments
 (0)