pull/9685/head
Simon Holthausen 3 years ago
parent 84e2a407ea
commit be2c34b3b9

@ -887,7 +887,7 @@ export function mutate(source, update) {
* @template V
*/
export function mutate_store(store, get_value, update) {
const value = untrack(get_value);
var value = untrack(get_value);
var updated = update(value);
store.set(value);
return updated;

Loading…
Cancel
Save