diff --git a/README.md b/README.md index 89f1bd16..3eb59192 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Say goodbye to time-consuming manual searches, and let DocsGPT ## Roadmap -You can find our [Roadmap](https://github.com/orgs/arc53/projects/2) here, please dont hesitate contributing or creating issues, it helps us make DocsGPT better! +You can find our [Roadmap](https://github.com/orgs/arc53/projects/2) here, please don't hesitate contributing or creating issues, it helps us make DocsGPT better! ## Screenshot image diff --git a/extensions/chrome/popup.js b/extensions/chrome/popup.js index d8685929..22d37f4b 100644 --- a/extensions/chrome/popup.js +++ b/extensions/chrome/popup.js @@ -13,11 +13,11 @@ document.getElementById("message-form").addEventListener("submit", function(even }); document.getElementById("message-input").value = ""; - var converstation_state = localStorage.getItem("conversation_state"); + var conversation_state = localStorage.getItem("conversation_state"); // check if conversation state is null - if (converstation_state == null) { - converstation_state = 0; - localStorage.setItem("conversation_state", converstation_state); + if (conversation_state == null) { + conversation_state = 0; + localStorage.setItem("conversation_state", conversation_state); } // send post request to server http://127.0.0.1:5000/ with message in json body