unused argument

pull/10760/head
Rich Harris 2 years ago
parent 1d176cf865
commit 630da33b14

@ -131,11 +131,10 @@ export function managed_effect(fn) {
/**
* @param {() => void | (() => void)} fn
* @param {boolean} sync
* @returns {import('#client').Effect}
*/
export function managed_pre_effect(fn, sync) {
return create_effect(PRE_EFFECT | MANAGED, fn, sync, current_block, true);
export function managed_pre_effect(fn) {
return create_effect(PRE_EFFECT | MANAGED, fn, false, current_block, true);
}
/**

@ -617,7 +617,7 @@ export function bind_transition(dom, get_transition_fn, props_fn, direction, glo
}
transition_block = parent;
}
}, false);
});
});
if (direction === 'key') {
@ -675,7 +675,7 @@ export function trigger_transitions(transitions, target_direction, from) {
destroy_effect(e2);
run_all(outros);
});
}, false);
});
}
}

Loading…
Cancel
Save