Merge pull request #2698 from jacobmischka/fix-get-slot-changes

Initialize `get_slot_changes` to null when not needed
pull/7738/head
Rich Harris 6 years ago committed by GitHub
commit 1652548ca2

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