From a1e48cea80a2ffb29a25ecae079b677916d160e2 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Mon, 9 Oct 2023 17:30:17 -0400 Subject: [PATCH] Remove console log Signed-off-by: Derek Ho --- public/components/datasources/components/new/name_row.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/components/datasources/components/new/name_row.tsx b/public/components/datasources/components/new/name_row.tsx index 96f00c846..96c96aaa4 100644 --- a/public/components/datasources/components/new/name_row.tsx +++ b/public/components/datasources/components/new/name_row.tsx @@ -16,7 +16,6 @@ interface ConfigureNameProps { export const NameRow = (props: ConfigureNameProps) => { const { setNameForRequest, currentName, currentError, setErrorForForm } = props; - console.log(currentError, currentName); const { pplService } = coreRefs; const [name, setName] = useState(currentName); @@ -33,11 +32,9 @@ export const NameRow = (props: ConfigureNameProps) => { }, []); const onBlur = (e) => { - console.log(e.target.value, existingNames, existingNames.includes(e.target.value)); if (e.target.value === '') { setErrorForForm('Name is a required parameter.'); } else if (existingNames.includes(e.target.value)) { - console.log(999); setErrorForForm('Name must be unique across data sources.'); } else { setErrorForForm('');