fix: access last safe value of prop on unmount

pull/15400/head
Dominic Gannaway 2 years ago
parent 7cb4c283af
commit e994a7a132

@ -415,9 +415,9 @@ export function prop(props, key, flags, fallback) {
}
untrack(() => get(current_value)); // force a synchronisation immediately
}
return value;
}
return get(current_value);
};
}

Loading…
Cancel
Save