remove log stmts
This commit is contained in:
parent
0bdb3b4a31
commit
c1305e1e16
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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 });
|
||||||
|
|
Loading…
Reference in a new issue