File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/compiler/compile/render-dom/wrappers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ export default class EachBlockWrapper extends Wrapper {
510510 if ( outro_block ) {
511511 block . builders . outro . add_block ( deindent `
512512 ${ iterations } = ${ iterations } .filter(Boolean);
513- for (let #i = 0; #i < ${ view_length } ; #i += 1) ${ outro_block } (#i, 0);`
513+ for (let #i = 0; #i < ${ view_length } ; #i += 1) ${ outro_block } (#i, 0, 0 );`
514514 ) ;
515515 }
516516
Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ export default class ElementWrapper extends Wrapper {
744744 ${ outro_name } = @create_out_transition(${ this . var } , ${ fn } , ${ snippet } );
745745 ` ;
746746
747- if ( outro_block ) {
747+ if ( outro . is_local ) {
748748 outro_block = deindent `
749749 if (#local) {
750750 ${ outro_block }
You can’t perform that action at this time.
0 commit comments