diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js
index 702845088f3a8ebf2a388858fa3364a5f80b0e49..153bd64b309abddc14cea0165aeab6cad3f5f3c6 100644
--- a/src/react-components/ui-root.js
+++ b/src/react-components/ui-root.js
@@ -977,7 +977,7 @@ class UIRoot extends Component {
                       ? navigator.share
                         ? "sharing..."
                         : "copied!"
-                      : "hub.link/" + this.props.hubEntryCode}
+                      : "hub.link/" + this.props.hubId}
                   </span>
                 </button>
               )}