Cleanup console.log
This commit is contained in:
parent
cf027db855
commit
6bb9e9460a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue