Skip to content

Commit

Permalink
fix: reset stack to initial frame
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkvasnicak committed Oct 25, 2024
1 parent 3757491 commit ef22e26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/render/src/unstable-use-frame-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ function createFramesStackReducer(

return {
...state,
stack:
!!state.stack[0] && state.stack.length > 0 ? [state.stack[0]] : [],
type: "initialized",
frameContext,
signerState,
Expand Down

0 comments on commit ef22e26

Please sign in to comment.