Initialize `get_slot_changes` to null when not needed

Fixes #2697
pull/2698/head
Jacob Mischka 5 years ago
parent 39b1fe224e
commit 003cf39c8f
No known key found for this signature in database
GPG Key ID: 50A869F8CD9CBB9C

@ -90,6 +90,7 @@ export default class SlotWrapper extends Wrapper {
const ${get_slot_context} = (${arg}) => (${stringify_props(context_props)});
`);
} else {
get_slot_changes = 'null';
get_slot_context = 'null';
}

Loading…
Cancel
Save