@decentnetwork/beagle-ui 0.2.30 → 0.2.31
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.
- package/dist/beagle-ui.js +6 -3
- package/package.json +1 -1
package/dist/beagle-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const BEAGLE_UI_VERSION = "0.2.
|
|
1
|
+
export const BEAGLE_UI_VERSION = "0.2.31";
|
|
2
2
|
// src/icons.jsx
|
|
3
3
|
var ICON_PATHS = {
|
|
4
4
|
// ---- tab bar (the four must feel like one set) ----
|
|
@@ -7139,8 +7139,11 @@ function DkApp() {
|
|
|
7139
7139
|
/* @__PURE__ */ React.createElement(Icon, { name: "share", size: 16, stroke: 2, color: "var(--accent)" })
|
|
7140
7140
|
);
|
|
7141
7141
|
React.useEffect(() => {
|
|
7142
|
-
if (
|
|
7143
|
-
|
|
7142
|
+
if (phone || activeId)
|
|
7143
|
+
return;
|
|
7144
|
+
const first = (peers || []).find((p) => !p.app);
|
|
7145
|
+
if (first)
|
|
7146
|
+
setActiveId(first.id);
|
|
7144
7147
|
}, [peers, activeId, phone]);
|
|
7145
7148
|
React.useEffect(() => {
|
|
7146
7149
|
if (!phone)
|
package/package.json
CHANGED