diff --git a/src/react-components/room/RoomSettingsSidebar.js b/src/react-components/room/RoomSettingsSidebar.js index 1791609a21..7ac2124503 100644 --- a/src/react-components/room/RoomSettingsSidebar.js +++ b/src/react-components/room/RoomSettingsSidebar.js @@ -196,6 +196,18 @@ export function RoomSettingsSidebar({ /> + } + fullWidth + > + {/* TODO: Refresh the page in all the clients in the room when toggled */} + + } + {...register("user_data.hubs_use_new_loader")} + /> + diff --git a/src/utils/bit-utils.ts b/src/utils/bit-utils.ts index 16e773965d..97a85c6678 100644 --- a/src/utils/bit-utils.ts +++ b/src/utils/bit-utils.ts @@ -62,5 +62,5 @@ export function findChildWithComponent(world: HubsWorld, component: Component, e const forceNewLoader = qsTruthy("newLoader"); export function shouldUseNewLoader() { - return forceNewLoader || APP.hub?.user_data?.hubsUseNewLoader; + return forceNewLoader || APP.hub?.user_data?.hubs_use_new_loader; }