()
| 30 | store.dispatch(selectTab(tab)); |
| 31 | |
| 32 | const selectFlowOnceAvailable = () => { |
| 33 | const flow = store.getState().flows.byId.get(flowId); |
| 34 | if (flow !== undefined) { |
| 35 | unsubscribe(); |
| 36 | store.dispatch(select([flow])); |
| 37 | } |
| 38 | }; |
| 39 | const unsubscribe = store.subscribe(selectFlowOnceAvailable); |
| 40 | selectFlowOnceAvailable(); |
| 41 | } |
no test coverage detected
searching dependent graphs…