@puckeditor/plugin-ai 0.3.0 → 0.3.1-canary.d3a5ed3b
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1621,7 +1621,7 @@ function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
});
|
|
1624
|
-
const [forcedStatus, setForcedStatus] = (0, import_react22.useState)(
|
|
1624
|
+
const [forcedStatus, setForcedStatus] = (0, import_react22.useState)();
|
|
1625
1625
|
const resolvedStatus = (0, import_react22.useMemo)(
|
|
1626
1626
|
() => forcedStatus ?? status,
|
|
1627
1627
|
[status, forcedStatus]
|
package/dist/index.mjs
CHANGED
|
@@ -1619,7 +1619,7 @@ function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
1621
1621
|
});
|
|
1622
|
-
const [forcedStatus, setForcedStatus] = useState12(
|
|
1622
|
+
const [forcedStatus, setForcedStatus] = useState12();
|
|
1623
1623
|
const resolvedStatus = useMemo3(
|
|
1624
1624
|
() => forcedStatus ?? status,
|
|
1625
1625
|
[status, forcedStatus]
|