diff --git a/src/components/GPT3.js b/src/components/GPT3.js index dc5f029..0c8e4c5 100644 --- a/src/components/GPT3.js +++ b/src/components/GPT3.js @@ -10,8 +10,6 @@ export const getResponse = async (input) => { body: JSON.stringify(data) }).then(res => res.json()); - console.log(response); - let text = response.choices[0].text; return text; diff --git a/src/components/ResponseSection.js b/src/components/ResponseSection.js index 0efb5c1..ea04ddd 100644 --- a/src/components/ResponseSection.js +++ b/src/components/ResponseSection.js @@ -25,10 +25,6 @@ export default function ResponseSection({ userInput, response, responseRef }) { setResponseToRender(null); } }, [responseToRender, contents, resCount, userInput]); - - useEffect(() => { - console.log(contents); - }, [contents]); return (