diff --git a/src/react-components/profile-entry-panel.js b/src/react-components/profile-entry-panel.js
index 898137300f13742c7bdb57a7ca2e8dca191b17e6..fb92fc06d1f849292e6b68a0c905c51806f8e164 100644
--- a/src/react-components/profile-entry-panel.js
+++ b/src/react-components/profile-entry-panel.js
@@ -87,7 +87,7 @@ class ProfileEntryPanel extends Component {
               className="profile-entry__avatar-selector"
               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=${
+                `/${/smoke/i.test(location.hostname) ? "smoke-" : ""}avatar-selector.html#avatar_id=${
                   this.state.avatar_id
                 }`
               }