mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
widget final
This commit is contained in:
5
extensions/react-widget/dist/index.es.js
vendored
5
extensions/react-widget/dist/index.es.js
vendored
@@ -688,10 +688,7 @@ function dr({
|
||||
});
|
||||
}
|
||||
const pr = ({ apiHost: D = "https://gptcloud.arc53.com", selectDocs: w = "default", apiKey: C = "docsgpt-public" }) => {
|
||||
const [u, E] = ke(
|
||||
() => localStorage.getItem("docsGPTChatState") || "init"
|
||||
/* Init */
|
||||
), [S, T] = ke(""), b = ur(null);
|
||||
const [u, E] = ke(() => typeof window < "u" && localStorage.getItem("docsGPTChatState") || "init"), [S, T] = ke(""), b = ur(null);
|
||||
Pe(() => {
|
||||
if (b.current) {
|
||||
const v = b.current;
|
||||
|
||||
Reference in New Issue
Block a user