From 6bb9e9460aca691985007cfea7d755bde4cc44f3 Mon Sep 17 00:00:00 2001 From: josdejong Date: Mon, 27 Apr 2020 11:26:38 +0200 Subject: [PATCH] Cleanup console.log --- src/utils/updateProps.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/updateProps.js b/src/utils/updateProps.js index 5812ae4..7621873 100644 --- a/src/utils/updateProps.js +++ b/src/utils/updateProps.js @@ -15,11 +15,8 @@ export function createUpdateProps () { // process added props const prevKeys = new Set(props.map(item => item.key)) // TODO: this is inefficient, creating a set. cache this set? - console.log('updateProps', { value, prevProps, props}) - Object.keys(value).forEach(key => { if (!prevKeys.has(key)) { - console.log('add key', key) props.push({ id: uniqueId(), key