From 43bc8f101f4a6f21bcecb18f4d1ca103fc870d14 Mon Sep 17 00:00:00 2001 From: Victoria Prusakova Date: Mon, 9 Dec 2024 21:18:31 +0300 Subject: [PATCH] fix: refreshing chained action --- packages/blinks-core/src/BlinkContainer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/blinks-core/src/BlinkContainer.tsx b/packages/blinks-core/src/BlinkContainer.tsx index 1ce38601..d7ab3e9c 100644 --- a/packages/blinks-core/src/BlinkContainer.tsx +++ b/packages/blinks-core/src/BlinkContainer.tsx @@ -324,7 +324,8 @@ export const BlinkContainer = ({ // in case, where initialAction or websiteUrl changes, we need to reset the action state useEffect(() => { - if (action === initialAction || action.isChained) { + // just in case, to not reset initial action + if (action === initialAction) { return; }