From b64fb09028a9d35b089b80522278fce93f9c4266 Mon Sep 17 00:00:00 2001 From: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com> Date: Tue, 29 Apr 2025 17:23:09 -0700 Subject: [PATCH] `node scripts/process-messages` --- documentation/docs/98-reference/.generated/client-warnings.md | 2 +- packages/svelte/src/internal/client/warnings.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/docs/98-reference/.generated/client-warnings.md b/documentation/docs/98-reference/.generated/client-warnings.md index 92b25f806c..7bfc20e589 100644 --- a/documentation/docs/98-reference/.generated/client-warnings.md +++ b/documentation/docs/98-reference/.generated/client-warnings.md @@ -222,7 +222,7 @@ To resolve this, ensure you're comparing values where both values were created w ### state_return_not_proxyable ``` -The argument passed to a `$state` in a return statement must be a plain object or array. Otherwise, the `$state` call will have no effect +The argument passed to a `$state` call in a return statement must be a plain object or array. Otherwise, the `$state` call will have no effect ``` ### transition_slide_display diff --git a/packages/svelte/src/internal/client/warnings.js b/packages/svelte/src/internal/client/warnings.js index 5d41c201b4..acb9f82c0c 100644 --- a/packages/svelte/src/internal/client/warnings.js +++ b/packages/svelte/src/internal/client/warnings.js @@ -171,11 +171,11 @@ export function state_proxy_equality_mismatch(operator) { } /** - * The argument passed to a `$state` in a return statement must be a plain object or array. Otherwise, the `$state` call will have no effect + * The argument passed to a `$state` call in a return statement must be a plain object or array. Otherwise, the `$state` call will have no effect */ export function state_return_not_proxyable() { if (DEV) { - console.warn(`%c[svelte] state_return_not_proxyable\n%cThe argument passed to a \`$state\` in a return statement must be a plain object or array. Otherwise, the \`$state\` call will have no effect\nhttps://svelte.dev/e/state_return_not_proxyable`, bold, normal); + console.warn(`%c[svelte] state_return_not_proxyable\n%cThe argument passed to a \`$state\` call in a return statement must be a plain object or array. Otherwise, the \`$state\` call will have no effect\nhttps://svelte.dev/e/state_return_not_proxyable`, bold, normal); } else { console.warn(`https://svelte.dev/e/state_return_not_proxyable`); }