@ -10,10 +10,9 @@ import {
} from '../../reactivity/effects.js' ;
} from '../../reactivity/effects.js' ;
import { set _should _intro } from '../../render.js' ;
import { set _should _intro } from '../../render.js' ;
import { current _each _item , set _current _each _item } from './each.js' ;
import { current _each _item , set _current _each _item } from './each.js' ;
import { current _component _context , current _effect } from '../../runtime.js' ;
import { current _component _context } from '../../runtime.js' ;
import { DEV } from 'esm-env' ;
import { DEV } from 'esm-env' ;
import { assign _nodes } from '../template.js' ;
import { assign _nodes } from '../template.js' ;
import { noop } from '../../../shared/utils.js' ;
import { EFFECT _TRANSPARENT } from '../../constants.js' ;
import { EFFECT _TRANSPARENT } from '../../constants.js' ;
/ * *
/ * *
@ -121,9 +120,6 @@ export function element(node, get_tag, is_svg, render_fn, get_namespace, locatio
}
}
anchor . before ( element ) ;
anchor . before ( element ) ;
// See below
return noop ;
} ) ;
} ) ;
}
}
@ -132,9 +128,5 @@ export function element(node, get_tag, is_svg, render_fn, get_namespace, locatio
set _should _intro ( true ) ;
set _should _intro ( true ) ;
set _current _each _item ( previous _each _item ) ;
set _current _each _item ( previous _each _item ) ;
// Inert effects are proactively detached from the effect tree. Returning a noop
// teardown function is an easy way to ensure that this is not discarded
return noop ;
} , EFFECT _TRANSPARENT ) ;
} , EFFECT _TRANSPARENT ) ;
}
}