(connected)
| 38 | const url = `${urlBase(config)}${endpoint}`; |
| 39 | |
| 40 | function setConnectionStatus(connected) { |
| 41 | if (getState().error.backEndConnected !== connected) { |
| 42 | dispatch({ |
| 43 | type: 'SET_CONNECTION_STATUS', |
| 44 | payload: connected |
| 45 | }); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | dispatch({ |
| 50 | type: store, |