From 830488ad539eeef5fb92aea2d9f9efdd140aa232 Mon Sep 17 00:00:00 2001 From: 4eb0da <4eb0da@yandex-team.com> Date: Thu, 20 Feb 2025 12:54:53 +0300 Subject: [PATCH] Transition properties without id warnings commit_hash:0a9770ea52721d60fae24e6bf6052a4f760051e0 --- .../src/components/utilities/Outer.svelte | 59 +++++++++++++------ 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/client/web/divkit/src/components/utilities/Outer.svelte b/client/web/divkit/src/components/utilities/Outer.svelte index 8b25be237..899842ea9 100644 --- a/client/web/divkit/src/components/utilities/Outer.svelte +++ b/client/web/divkit/src/components/utilities/Outer.svelte @@ -21,6 +21,9 @@ bottom: 'end', baseline: 'baseline' }; + + const stateChangeErrorMessage = (prop: string) => + `The component id with the "${prop}" property for state change is missing. Either specify the id, or specify the "transition_trigger" property without "state_change" value.`;