From 11970f9188d11800951e74cb9517117c82305aaf Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 20 Feb 2024 22:53:22 -0300 Subject: [PATCH] Remove console.log statements --- src/frontend/src/components/IOInputField/index.tsx | 1 - src/frontend/src/components/newChatView/index.tsx | 1 - src/frontend/src/contexts/authContext.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/frontend/src/components/IOInputField/index.tsx b/src/frontend/src/components/IOInputField/index.tsx index 1fc332226..fa7492e53 100644 --- a/src/frontend/src/components/IOInputField/index.tsx +++ b/src/frontend/src/components/IOInputField/index.tsx @@ -11,7 +11,6 @@ export default function IOInputField({ const nodes = useFlowStore((state) => state.nodes); const setNode = useFlowStore((state) => state.setNode); const node = nodes.find((node) => node.id === inputId); - console.log(inputType); function handleInputType() { if (!node) return "no node found"; switch (inputType) { diff --git a/src/frontend/src/components/newChatView/index.tsx b/src/frontend/src/components/newChatView/index.tsx index 556de5899..8c4a769fb 100644 --- a/src/frontend/src/components/newChatView/index.tsx +++ b/src/frontend/src/components/newChatView/index.tsx @@ -71,7 +71,6 @@ export default function newChatView(): JSX.Element { try{ const { sender, message, sender_name } = output.data .artifacts as ChatOutputType; - console.log(output.data.artifacts); const is_ai = sender === "Machine"; return { isSend: !is_ai, message: message, sender_name }; } diff --git a/src/frontend/src/contexts/authContext.tsx b/src/frontend/src/contexts/authContext.tsx index 256712303..e0bc5a7ca 100644 --- a/src/frontend/src/contexts/authContext.tsx +++ b/src/frontend/src/contexts/authContext.tsx @@ -92,7 +92,6 @@ export function AuthProvider({ children }): React.ReactElement { setIsAdmin(isSuperUser); }) .catch((error) => { - console.log("auth context"); setLoading(false); }); }