diff --git a/src/compile/Component.ts b/src/compile/Component.ts index 1f640e1873..ef3bb2357e 100644 --- a/src/compile/Component.ts +++ b/src/compile/Component.ts @@ -843,7 +843,6 @@ export default class Component { if (next) { const next_variable = component.var_lookup.get(next.id.name) if (next_variable && !next_variable.export_name) { - current_group = null code.overwrite(declarator.end, next.start, ` ${node.kind} `); } }