diff --git a/src/hub.js b/src/hub.js
index ec589e2da5eb2acb8b7e31df4c63c9d29a1723df..9685b24749ceb07f42b8afa778469b048a0a85b8 100644
--- a/src/hub.js
+++ b/src/hub.js
@@ -257,7 +257,7 @@ async function handleHubChannelJoined(entryManager, hubChannel, data) {
 
   document
     .querySelector("#hud-hub-entry-link")
-    .setAttribute("text", { value: `hub.link/${hub.entry_code}`, width: 1.1, align: "center" });
+    .setAttribute("text", { value: `hub.link/${hub.hub_id}`, width: 1.1, align: "center" });
 
   scene.setAttribute("networked-scene", {
     room: hub.hub_id,
diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js
index 88d19abd215a3fad913c9d88f2006f57b43c9770..702845088f3a8ebf2a388858fa3364a5f80b0e49 100644
--- a/src/react-components/ui-root.js
+++ b/src/react-components/ui-root.js
@@ -553,7 +553,7 @@ class UIRoot extends Component {
   };
 
   onMiniInviteClicked = () => {
-    const link = "https://hub.link/" + this.props.hubEntryCode;
+    const link = "https://hub.link/" + this.props.hubId;
 
     this.setState({ miniInviteActivated: true });
     setTimeout(() => {