admin(ui): remove console.logs

This commit is contained in:
Matthew Penner 2021-02-24 18:29:10 -07:00
parent 46759ba967
commit ff4a64bfff
3 changed files with 1 additions and 8 deletions

View file

@ -23,7 +23,6 @@ export default () => {
const submit = (values: Values, { setSubmitting }: FormikHelpers<Values>) => {
clearFlashes('api:create');
console.log(values);
setSubmitting(true);
setTimeout(() => {

View file

@ -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 });

View file

@ -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 => {