diff --git a/src/components/sectionList/listView/ManageListView.tsx b/src/components/sectionList/listView/ManageListView.tsx index 02962361..4c5b9ec1 100644 --- a/src/components/sectionList/listView/ManageListView.tsx +++ b/src/components/sectionList/listView/ManageListView.tsx @@ -29,7 +29,7 @@ type FormValues = { } const validate = (values: FormValues) => { const errors: Record = {} - console.log({ values }) + if (values.columns.length < 1) { errors.columns = i18n.t('At least one column must be selected') } @@ -91,7 +91,6 @@ export const ManageListView = ({ return ( <>
{ [saveView] ) - console.log({ saveColumns, saveView }) return { mutation, saveColumns, saveView } }