admin(ui): remove console.logs
This commit is contained in:
parent
46759ba967
commit
ff4a64bfff
3 changed files with 1 additions and 8 deletions
|
@ -23,7 +23,6 @@ export default () => {
|
|||
const submit = (values: Values, { setSubmitting }: FormikHelpers<Values>) => {
|
||||
clearFlashes('api:create');
|
||||
|
||||
console.log(values);
|
||||
setSubmitting(true);
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
|
@ -22,10 +22,7 @@ export default () => {
|
|||
|
||||
useEffect(() => {
|
||||
getNodeConfiguration(node.id)
|
||||
.then((configuration) => {
|
||||
console.log(configuration);
|
||||
setConfiguration(configuration);
|
||||
})
|
||||
.then((configuration) => setConfiguration(configuration))
|
||||
.catch(error => {
|
||||
console.error(error);
|
||||
clearAndAddHttpError({ key: 'node', error });
|
||||
|
|
|
@ -42,9 +42,6 @@ export default () => {
|
|||
const submit = ({ name, description, locationId, databaseHostId, fqdn, listenPortHTTP, publicPortHTTP, listenPortSFTP, publicPortSFTP }: Values, { setSubmitting }: FormikHelpers<Values>) => {
|
||||
clearFlashes('node');
|
||||
|
||||
console.log(`Location ID: ${locationId}`);
|
||||
console.log(`Database Host ID: ${databaseHostId || 'null'}`);
|
||||
|
||||
updateNode(node.id, { name, description, locationId, databaseHostId, fqdn, listenPortHTTP, publicPortHTTP, listenPortSFTP, publicPortSFTP })
|
||||
.then(() => setNode({ ...node, name, description, locationId, fqdn, listenPortHTTP, publicPortHTTP, listenPortSFTP, publicPortSFTP }))
|
||||
.catch(error => {
|
||||
|
|
Loading…
Reference in a new issue