diff --git a/src/clients/ClientsSection.tsx b/src/clients/ClientsSection.tsx index f40ef8efd7..e2b39040df 100644 --- a/src/clients/ClientsSection.tsx +++ b/src/clients/ClientsSection.tsx @@ -22,8 +22,6 @@ export const ClientsSection = () => { const history = useHistory(); const { url } = useRouteMatch(); - // console.log(form.errors) - const adminClient = useAdminClient(); const baseUrl = getBaseUrl(adminClient); diff --git a/src/clients/add/NewClientForm.tsx b/src/clients/add/NewClientForm.tsx index 9abec3b5e3..4217590205 100644 --- a/src/clients/add/NewClientForm.tsx +++ b/src/clients/add/NewClientForm.tsx @@ -38,8 +38,6 @@ export const NewClientForm = () => { const { addAlert } = useAlerts(); const methods = useForm({ defaultValues: client }); - console.log(methods.errors.description); - const save = async () => { try { await adminClient.clients.create({ ...client });