Cleanup console.log

This commit is contained in:
josdejong 2020-04-27 11:26:38 +02:00
parent cf027db855
commit 6bb9e9460a
1 changed files with 0 additions and 3 deletions

View File

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