1
Fork 0

Fixed bind error

This commit is contained in:
Jake Howard 2016-01-15 20:29:43 +00:00
parent 7db7182438
commit f944dc440b

View file

@ -62,12 +62,12 @@ export default class ProjectImagesMain extends React.Component {
} }
render() { render() {
var images = this.keys.map( function (keyColumns) { var images = this.keys.map(function (keyColumns) {
var col = keyColumns.map(function (key) { var col = keyColumns.map(function (key) {
return this._generate_image(key); return this._generate_image(key);
}); }.bind(this));
return (<Row>{col}</Row>); return (<Row>{col}</Row>);
}); }.bind(this));
return ( return (
<div className="container"> <div className="container">
<h1>Personal Projects</h1> <h1>Personal Projects</h1>