Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
webergnr committed Jul 3, 2023
1 parent 43331cd commit 572ed4b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/hooks/useInterpreter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ const useInterpreter = () => {
message,
category,
};

console.log("### => [POST] interpreter", data);

const [response, error] = await axiosPromiseData<ApiResponseInterpreter>(
fetcher("/interpreter/message", {
method: "POST",
data,
})
);
if (!response || error) throw error;

console.log("### => [RESPONSE] interpreter", response.interpretedPlans);
return response;
} catch (error) {
console.error("Error while sending message to interpreter", error);
Expand Down

0 comments on commit 572ed4b

Please sign in to comment.