@tumaet/apollon 4.2.23 → 4.3.0
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/index.js +11 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60379,25 +60379,24 @@ const fn = ({ score: e, x: t, y: n }) => {
|
|
|
60379
60379
|
);
|
|
60380
60380
|
if (!o)
|
|
60381
60381
|
return null;
|
|
60382
|
-
const [i, a] = B.useState(o.data.name), l = () => {
|
|
60383
|
-
n(
|
|
60384
|
-
(
|
|
60385
|
-
...
|
|
60386
|
-
data: {
|
|
60387
|
-
|
|
60382
|
+
const [i, a] = B.useState(o.data.name), l = (u) => {
|
|
60383
|
+
a(u), n(
|
|
60384
|
+
(p) => p.map((h) => h.id === e ? {
|
|
60385
|
+
...h,
|
|
60386
|
+
data: {
|
|
60387
|
+
...h.data,
|
|
60388
|
+
name: u
|
|
60389
|
+
}
|
|
60390
|
+
} : h)
|
|
60388
60391
|
);
|
|
60389
60392
|
};
|
|
60390
|
-
return /* @__PURE__ */ m.jsx(Sn, { sx: { width:
|
|
60393
|
+
return /* @__PURE__ */ m.jsx(Sn, { sx: { width: "auto", padding: 2 }, children: /* @__PURE__ */ m.jsx(
|
|
60391
60394
|
Mr,
|
|
60392
60395
|
{
|
|
60393
60396
|
fullWidth: !0,
|
|
60394
60397
|
label: "Pool Name",
|
|
60395
60398
|
value: i,
|
|
60396
|
-
onChange: (u) =>
|
|
60397
|
-
onBlur: l,
|
|
60398
|
-
onKeyPress: (u) => {
|
|
60399
|
-
u.key === "Enter" && l();
|
|
60400
|
-
},
|
|
60399
|
+
onChange: (u) => l(u.target.value),
|
|
60401
60400
|
variant: "outlined",
|
|
60402
60401
|
size: "small"
|
|
60403
60402
|
}
|
package/package.json
CHANGED