traumschule 4 years ago
parent
commit
207dc70e9d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/User/index.tsx

+ 2 - 2
src/components/User/index.tsx

@@ -1,6 +1,6 @@
 import React from "react";
 import { OverlayTrigger, Tooltip } from "react-bootstrap";
-//import { domain } from "../../config";
+import { domain } from "../../config";
 
 const shortName = (name: string) => {
   return `${name.slice(0, 5)}..${name.slice(+name.length - 5)}`;
@@ -8,7 +8,7 @@ const shortName = (name: string) => {
 
 const User = (props: { id: string; handle?: string }) => {
   const { id, handle } = props;
-  const href = `https://pioneer.joystreamstats.live/#/members/${handle || ``}`;
+  const href = `${domain}/#/members/${handle || ``}`;
   return (
     <OverlayTrigger
       placement="bottom"