diff --git a/rsconcept/frontend/src/components/BackendError.tsx b/rsconcept/frontend/src/components/BackendError.tsx index 771f66a0..02e7d911 100644 --- a/rsconcept/frontend/src/components/BackendError.tsx +++ b/rsconcept/frontend/src/components/BackendError.tsx @@ -9,7 +9,7 @@ interface BackendErrorProps { } function DescribeError(error: ErrorInfo) { - console.log(error); + reportError(error); if (!error) { return
Ошибки отсутствуют
; } else if (typeof error === 'string') { diff --git a/rsconcept/frontend/src/components/Common/EmbedYoutube.tsx b/rsconcept/frontend/src/components/Common/EmbedYoutube.tsx index bbb4da35..37264450 100644 --- a/rsconcept/frontend/src/components/Common/EmbedYoutube.tsx +++ b/rsconcept/frontend/src/components/Common/EmbedYoutube.tsx @@ -7,7 +7,6 @@ interface EmbedYoutubeProps { function EmbedYoutube({ videoID, pxHeight, pxWidth }: EmbedYoutubeProps) { if (!pxWidth) { pxWidth = pxHeight * 16 / 9; - console.log(pxWidth); } return (