diff options
Diffstat (limited to 'frontend/src/sagas/prefabs.js')
| -rw-r--r-- | frontend/src/sagas/prefabs.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/frontend/src/sagas/prefabs.js b/frontend/src/sagas/prefabs.js index 1c21215a..ea84fdfd 100644 --- a/frontend/src/sagas/prefabs.js +++ b/frontend/src/sagas/prefabs.js @@ -5,12 +5,7 @@ import {getRackById, getTopologyAsObject} from "./objects"; export function* onAddPrefab(action) { try { - // const state = yield select((state) => state) - // console.log("DEBUG: tileId = " + state.interactionLevel.tileId) - // console.log(state.objects.tile[state.interactionLevel.tileId]) - // console.log("DEBUG: " + state.objects.tile[state.interactionLevel.tileId].rackId) const currentRackId = yield select((state) => state.objects.tile[state.interactionLevel.tileId].rackId) - console.log("DEBUG: currentRackId = " + currentRackId) const currentRackJson = yield getRackById(currentRackId, false) const prefab = yield call(addPrefab, { name: action.name, rack: currentRackJson }) yield put(addToStore('prefab', prefab)) |
