From c1ccc5d7c5cc8ed48d30a3d2bc8b07118eaae61e Mon Sep 17 00:00:00 2001 From: nflnkr <105123049+nflnkr@users.noreply.github.com> Date: Sat, 10 Feb 2024 15:41:20 +0300 Subject: [PATCH] remove console logs --- src/api/quizRelase.ts | 4 +--- src/pages/ViewPublicationPage/ContactForm.tsx | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/api/quizRelase.ts b/src/api/quizRelase.ts index 6e63e2d..fb83fbd 100644 --- a/src/api/quizRelase.ts +++ b/src/api/quizRelase.ts @@ -6,7 +6,6 @@ import type { AxiosError } from "axios"; let SESSIONS = ""; export const publicationMakeRequest = ({ url, body }: any) => { - console.log(body); return axios(url, { data: body, headers: { @@ -59,7 +58,7 @@ export async function getData(quizId: string): Promise<{ export function sendAnswer({ questionId, body, qid }: any) { const formData = new FormData(); - console.log(qid); + const answers = [ { question_id: questionId, @@ -78,7 +77,6 @@ export function sendAnswer({ questionId, body, qid }: any) { //body ={file, filename} export function sendFile({ questionId, body, qid }: any) { - console.log(body); const formData = new FormData(); const answers: any = [ diff --git a/src/pages/ViewPublicationPage/ContactForm.tsx b/src/pages/ViewPublicationPage/ContactForm.tsx index 9b2e05f..8bd4c03 100644 --- a/src/pages/ViewPublicationPage/ContactForm.tsx +++ b/src/pages/ViewPublicationPage/ContactForm.tsx @@ -93,7 +93,6 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => { const filteredFC: any = {}; for (const i in FCcopy) { const field = FCcopy[i]; - console.log(filteredFC); if (field.used) { filteredFC[i] = field; } @@ -244,7 +243,7 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => { {settings.cfg.formContact?.button || "Получить результаты"} } - +