diff --git a/content/en/guide/v10/signals.md b/content/en/guide/v10/signals.md index 6c9dfb4fb..eaf69f770 100644 --- a/content/en/guide/v10/signals.md +++ b/content/en/guide/v10/signals.md @@ -429,7 +429,7 @@ const count = signal(0); effect(() => { // Update `count` without subscribing to `count` or `delta`: count.value = untracked(() => { - count.value + delta.value + return count.value + delta.value }); }); ``` diff --git a/content/ru/guide/v10/signals.md b/content/ru/guide/v10/signals.md index f0fca62c2..5c6094fb7 100644 --- a/content/ru/guide/v10/signals.md +++ b/content/ru/guide/v10/signals.md @@ -409,7 +409,7 @@ const count = signal(0); effect(() => { // Обновляем `count` без подписки на `count` или `delta`: count.value = untracked(() => { - count.value + delta.value + return count.value + delta.value }); }); ```