Skip to content

Commit

Permalink
fix: check mounting state
Browse files Browse the repository at this point in the history
  • Loading branch information
ihexxa committed Nov 7, 2024
1 parent cc54a7a commit 4810ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/ui/hooks/use-execution-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function useExecutionState({ requestId }: { requestId?: string }) {
if (targetSteps) {
isMounted && setSteps(targetSteps);
} else {
setSteps([]);
isMounted && setSteps([]);
}
};
fn();
Expand Down

0 comments on commit 4810ac1

Please sign in to comment.