Apply suggestions from code review

pull/8188/head
Simon H 4 years ago committed by GitHub
parent fcfa5e634c
commit 5275c08780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@
// ...but the "emoji" variable is fixed upon initialisation of the component // ...but the "emoji" variable is fixed upon initialisation of the component
const emoji = emojis[name]; const emoji = emojis[name];
// when you remove first thing, it will remove items at the end of the block // observe in the console which entry is removed
onDestroy(() => { onDestroy(() => {
console.log('thing destroyed: ' + name) console.log('thing destroyed: ' + name)
}); });

@ -15,7 +15,7 @@
// ...but the "emoji" variable is fixed upon initialisation of the component // ...but the "emoji" variable is fixed upon initialisation of the component
const emoji = emojis[name]; const emoji = emojis[name];
// when you remove first thing, it will remove items at the end of the block // observe in the console which entry is removed
onDestroy(() => { onDestroy(() => {
console.log('thing destroyed: ' + name) console.log('thing destroyed: ' + name)
}); });

Loading…
Cancel
Save