pull/16270/head
Rich Harris 3 months ago
parent ab1ea27625
commit bdd5897e13

@ -374,7 +374,6 @@ export function prop(props, key, flags, fallback) {
if (arguments.length > 0) {
const new_value = mutation ? get(current_value) : runes && bindable ? proxy(value) : value;
if (!current_value.equals(new_value)) {
set(current_value, new_value);
// To ensure the fallback value is consistent when used with proxies, we
@ -382,7 +381,6 @@ export function prop(props, key, flags, fallback) {
if (fallback_used && fallback_value !== undefined) {
fallback_value = new_value;
}
}
return value;
}

Loading…
Cancel
Save