From 9d1124c0d947325a1a48d27163e482748aac8e3f Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Tue, 27 Jun 2023 21:12:41 +0100 Subject: [PATCH] Don't reset the selected tab index now --- apps/web/src/redux/demo/sagas.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/src/redux/demo/sagas.js b/apps/web/src/redux/demo/sagas.js index 55c5dce..e851f80 100644 --- a/apps/web/src/redux/demo/sagas.js +++ b/apps/web/src/redux/demo/sagas.js @@ -39,7 +39,6 @@ function* handleRunAssemblyActions(_) { const code = yield select((state) => state.demo.asmCode); const tap = yield call(getPasmoTap, code); yield put(loadTap(tap)); - yield put(setSelectedTabIndex(0)); } catch (e) { yield put(setErrorItems(e)); } finally { @@ -52,7 +51,6 @@ function* handleRunSinclairBasicActions(_) { const code = yield select((state) => state.demo.sinclairBasicCode); const tap = yield call(getZmakebasTap, code); yield put(loadTap(tap)); - yield put(setSelectedTabIndex(0)); } catch (e) { yield put(setErrorItems(e)); } finally {