Skip to content

Commit

Permalink
Fix program loading via url (step not working) (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkwiatek authored Jan 2, 2025
1 parent f6df991 commit 2d7837c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DebuggerControlls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export const DebuggerControlls = () => {
try {
if (!currentInstruction) {
await dispatch(setAllWorkersCurrentState(initialState));
} else {
await dispatch(stepAllWorkers()).unwrap();
}

await dispatch(stepAllWorkers()).unwrap();

dispatch(setIsProgramEditMode(false));
} catch (error) {
if (error instanceof Error || isSerializedError(error)) {
Expand Down

0 comments on commit 2d7837c

Please sign in to comment.