@smarter.sh/ui-chat 0.2.13 → 0.2.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smarter.sh/ui-chat",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "chatbot React.js component for the https://smarter.sh declarative, plugin-based AI resource management platform.",
5
5
  "homepage": "https://smarter.sh",
6
6
  "main": "dist/smarter-chat-library.umd.js",
@@ -107,7 +107,7 @@ function SmarterChat({
107
107
  const refetchConfig = async () => {
108
108
  const newConfig = await fetchConfig(configApiUrl, cookies);
109
109
  setDebugMode(newConfig?.debug_mode);
110
- setCookie(cookies.debugCookie, debugModeStateState);
110
+ setCookie(cookies.debugCookie, debugModeState);
111
111
 
112
112
  if (debugModeState) {
113
113
  console.log("refetchConfig() config:", newConfig);