<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
error message:
GuineaPigs should have a render function, but no other properties
```
var React = require(‘react’);
var GuineaPigs = React.createClass({
render: function () {
var src = this.props.src;
}
});
Inside of the render function, delete this line of logic:
var src = GUINEAPATHS[this.state.currentGP];
... and replace it with this:
var src = this.props.src;
Lastly, delete the var GUINEAPATHS array.
These courses are difficult to test code in. My code is completed, but I can’t say where the steps were completed, and mine does have a returned JSX object. Short of wiping out all my own work to reproduce this error, there is nothing else I can suggest.
I think you may have deleted too much code. This is what the render: function should look like:
render: function () {
var src = this.props.src;
return (
<div>
<h1>Cute Guinea Pigs</h1>
<img src={src} />
</div>
);
}