diff options
Diffstat (limited to 'web/src/js/components/header.jsx.js')
-rw-r--r-- | web/src/js/components/header.jsx.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/components/header.jsx.js b/web/src/js/components/header.jsx.js index 92a58282..994bc759 100644 --- a/web/src/js/components/header.jsx.js +++ b/web/src/js/components/header.jsx.js @@ -62,12 +62,12 @@ var Header = React.createClass({ console.log("File click"); }, render: function () { - var header = header_entries.map(function(entry){ + var header = header_entries.map(function(entry, i){ var classes = React.addons.classSet({ active: entry == this.state.active }); return ( - <a key={entry.title} + <a key={i} href="#" className={classes} onClick={this.handleClick.bind(this, entry)} |