@dxos/react-ui 0.1.36-next.ef27157 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1713,14 +1713,13 @@ function _extends19() {
1713
1713
  var PureInvitationAcceptedContent = ({ onDone, result, Kind, doneActionParent, active }) => {
1714
1714
  const disabled = !active;
1715
1715
  const { t } = useTranslation13("os");
1716
- const doneButton = /* @__PURE__ */ React25.createElement(Button8, _extends19({}, onDone && {
1717
- onClick: () => onDone(result)
1718
- }, {
1716
+ const doneButton = /* @__PURE__ */ React25.createElement(Button8, {
1717
+ onClick: () => onDone == null ? void 0 : onDone(result),
1719
1718
  disabled,
1720
1719
  className: "flex items-center gap-2 pli-2",
1721
1720
  "data-autofocus": `success${Kind}Invitation finishingJoining${Kind}`,
1722
1721
  "data-testid": `${Kind.toLowerCase()}-invitation-accepted-done`
1723
- }), /* @__PURE__ */ React25.createElement(CaretLeft3, {
1722
+ }, /* @__PURE__ */ React25.createElement(CaretLeft3, {
1724
1723
  weight: "bold",
1725
1724
  className: mx18(getSize11(2), "invisible")
1726
1725
  }), /* @__PURE__ */ React25.createElement("span", {
@@ -2639,12 +2638,12 @@ var Shell = ({ runtime, origin }) => {
2639
2638
  return /* @__PURE__ */ React35.createElement(JoinDialog, {
2640
2639
  mode: "halo-only",
2641
2640
  initialInvitationCode: invitationCode,
2642
- onDone: async () => {
2643
- spaces.length > 0 || await client.createSpace();
2644
- await runtime.setAppContext({
2641
+ onDone: () => {
2642
+ void runtime.setAppContext({
2645
2643
  display: ShellDisplay.NONE
2646
2644
  });
2647
2645
  runtime.setLayout(ShellLayout.DEFAULT);
2646
+ spaces.length > 0 || client.createSpace();
2648
2647
  }
2649
2648
  });
2650
2649
  case ShellLayout.DEVICE_INVITATIONS:
@@ -2751,7 +2750,7 @@ var ShellProvider = ({ space, haloInvitationCode, spaceInvitationCode, onJoinedS
2751
2750
  });
2752
2751
  }
2753
2752
  return new MemoryShellRuntime({
2754
- layout: ShellLayout2.DEFAULT
2753
+ layout: identity ? ShellLayout2.DEFAULT : ShellLayout2.INITIALIZE_IDENTITY
2755
2754
  });
2756
2755
  }, [
2757
2756
  client,