Skip to content

Commit

Permalink
cleanup: removed extra console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Oct 4, 2024
1 parent 30c55f0 commit 4475e06
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
Expand Down
1 change: 0 additions & 1 deletion frontends/dashboard/src/pages/dataset/CrawlingSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ const RealCrawlingSettings = (props: RealCrawlingSettingsProps) => {
>({});

const validate: ValidateFn<CrawlOptions> = (value) => {
console.log(value);
const errors: Record<string, string> = {};
if (!value.site_url) {
errors.site_url = "Site URL is required";
Expand Down
1 change: 0 additions & 1 deletion frontends/dashboard/src/pages/dataset/DatasetHomepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export const DatasetHomepage = () => {
return;
}
const newDatasetName = input();
console.log("newDatasetName", newDatasetName);
updateDatasetNameMutation.mutate(newDatasetName);
};

Expand Down

0 comments on commit 4475e06

Please sign in to comment.