remove log stmts

This commit is contained in:
jenny-s51 2021-01-26 15:13:14 -05:00
parent 0bdb3b4a31
commit c1305e1e16
2 changed files with 0 additions and 4 deletions

View file

@ -22,8 +22,6 @@ export const ClientsSection = () => {
const history = useHistory(); const history = useHistory();
const { url } = useRouteMatch(); const { url } = useRouteMatch();
// console.log(form.errors)
const adminClient = useAdminClient(); const adminClient = useAdminClient();
const baseUrl = getBaseUrl(adminClient); const baseUrl = getBaseUrl(adminClient);

View file

@ -38,8 +38,6 @@ export const NewClientForm = () => {
const { addAlert } = useAlerts(); const { addAlert } = useAlerts();
const methods = useForm<ClientRepresentation>({ defaultValues: client }); const methods = useForm<ClientRepresentation>({ defaultValues: client });
console.log(methods.errors.description);
const save = async () => { const save = async () => {
try { try {
await adminClient.clients.create({ ...client }); await adminClient.clients.create({ ...client });