Skip to content
Snippets Groups Projects
Commit 5f69fab6 authored by Brian Peiris's avatar Brian Peiris
Browse files

fix jsx syntax

parent 4fe7e26d
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,10 @@ class ProfileEntryPanel extends Component {
ref={inp => this.nameInput = inp}/>
<iframe
className="profile-entry__avatar-selector"
{/* HACK: Have to account for the smoke test server like this. Feels wrong though. */}
src={`${/smoke/i.test(location.hostname) ? 'smoke-' : ''}avatar-selector.html#avatar_id=${this.state.avatar_id}`}
src={
/* HACK: Have to account for the smoke test server like this. Feels wrong though. */
`${/smoke/i.test(location.hostname) ? 'smoke-' : ''}avatar-selector.html#avatar_id=${this.state.avatar_id}`
}
ref={ifr => this.avatarSelector = ifr}></iframe>
<input className="profile-entry__form-submit" type="submit" value={formatMessage({ id: "profile.save" }) }/>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment