diff options
| author | jc0b <j@jc0b.computer> | 2020-07-29 11:53:57 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:45 +0200 |
| commit | cd93fc94b2bf4e7b10f168c7dd04a7affba60f33 (patch) | |
| tree | 3812de0945e3feeabdf46f6710896c3951c563c3 /frontend/src/sagas/prefabs.js | |
| parent | 488d9ae5df13dcea208fc5cb3d609e0a9472bf53 (diff) | |
Debugging RoomStore
Diffstat (limited to 'frontend/src/sagas/prefabs.js')
| -rw-r--r-- | frontend/src/sagas/prefabs.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/frontend/src/sagas/prefabs.js b/frontend/src/sagas/prefabs.js index 80ba2f80..93af105a 100644 --- a/frontend/src/sagas/prefabs.js +++ b/frontend/src/sagas/prefabs.js @@ -9,7 +9,6 @@ export function* onAddPrefab(action) { console.log("DEBUG: " + state.objects.tile[state.interactionLevel.tileId].rack._id) const currentRackId = yield select((state) => state.objects.tile[state.interactionLevel.tileId].rack._id) const currentRackJson = yield call(getTopologyAsObject, currentRackId) - //TODO: yield call the function in saga to export the specific part of the topology const prefab = yield call(addPrefab, { name: action.name, rack: currentRackJson }) yield put(addToStore('prefab', prefab)) |
