From 4475e06f3b47623359758693289ffd5e87c4a45b Mon Sep 17 00:00:00 2001 From: cdxker Date: Thu, 3 Oct 2024 21:01:23 -0700 Subject: [PATCH] cleanup: removed extra console logs --- .../src/analytics/components/SingleQueryInfo/ResultCard.tsx | 3 +-- frontends/dashboard/src/pages/dataset/CrawlingSettings.tsx | 1 - frontends/dashboard/src/pages/dataset/DatasetHomepage.tsx | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontends/dashboard/src/analytics/components/SingleQueryInfo/ResultCard.tsx b/frontends/dashboard/src/analytics/components/SingleQueryInfo/ResultCard.tsx index 50a51460e..c005882cb 100644 --- a/frontends/dashboard/src/analytics/components/SingleQueryInfo/ResultCard.tsx +++ b/frontends/dashboard/src/analytics/components/SingleQueryInfo/ResultCard.tsx @@ -22,10 +22,9 @@ export const ResultCard = (props: ResultCardProps) => { props?.result?.metadata?.at(0), ); if (parseResult.success) { - console.log("THE PARSED METADATA: ", parseResult.data); return parseResult.data; } else { - console.error("THE PARSED METADATA: ", parseResult.error); + console.error("Failed to parse metadata: ", parseResult.error); return null; } }); diff --git a/frontends/dashboard/src/pages/dataset/CrawlingSettings.tsx b/frontends/dashboard/src/pages/dataset/CrawlingSettings.tsx index 953fe60ba..97e3cbe50 100644 --- a/frontends/dashboard/src/pages/dataset/CrawlingSettings.tsx +++ b/frontends/dashboard/src/pages/dataset/CrawlingSettings.tsx @@ -112,7 +112,6 @@ const RealCrawlingSettings = (props: RealCrawlingSettingsProps) => { >({}); const validate: ValidateFn = (value) => { - console.log(value); const errors: Record = {}; if (!value.site_url) { errors.site_url = "Site URL is required"; diff --git a/frontends/dashboard/src/pages/dataset/DatasetHomepage.tsx b/frontends/dashboard/src/pages/dataset/DatasetHomepage.tsx index e35c7a683..33c0beea5 100644 --- a/frontends/dashboard/src/pages/dataset/DatasetHomepage.tsx +++ b/frontends/dashboard/src/pages/dataset/DatasetHomepage.tsx @@ -120,7 +120,6 @@ export const DatasetHomepage = () => { return; } const newDatasetName = input(); - console.log("newDatasetName", newDatasetName); updateDatasetNameMutation.mutate(newDatasetName); };