summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/src/sagas/topology.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/sagas/topology.js b/frontend/src/sagas/topology.js
index f86dcdc3..2e55156b 100644
--- a/frontend/src/sagas/topology.js
+++ b/frontend/src/sagas/topology.js
@@ -73,7 +73,7 @@ export function* onDeleteTopology(action) {
const topologyIds = yield select((state) => state.objects.simulation[currentSimulationId].topologyIds)
const currentTopologyId = yield select((state) => state.currentTopologyId)
if (currentTopologyId === action.id) {
- yield put(setCurrentTopology(topologyIds.filter(t => t !== action.id)[0]))
+ yield put(setCurrentTopology(topologyIds.filter((t) => t !== action.id)[0]))
}
yield call(deleteTopology, action.id)