Skip to content

Commit

Permalink
fix: refreshing chained action
Browse files Browse the repository at this point in the history
  • Loading branch information
prsvic committed Dec 9, 2024
1 parent 6d1368e commit 43bc8f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/blinks-core/src/BlinkContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 43bc8f1

Please sign in to comment.