Skip to content

Commit

Permalink
Fixed issue with user photo in edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkalaucirica committed Nov 2, 2015
1 parent 5cc7636 commit 6c9bcee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default React.createClass({
name="username"
placeholder="Username"
type="text"/>
<img ref="previewImage" src={user.photo.name}/>
<img ref="previewImage" src={user.photo ? user.photo.name : ''}/>
<input defaultValue=""
name="photo"
onChange={this.onPhotoChange}
Expand Down

0 comments on commit 6c9bcee

Please sign in to comment.