|
115 | 115 | `typeof delay === 'number'` |
116 | 116 |
|
117 | 117 | * accepts idleStatus string argument and returns a thunk action that will return the delay for any idle status that you've configured. |
118 | | -* gets dispatched by idle middleware to get the number ofmillisenconds of user idleness that must occur before transitioning into the specified idle status. |
| 118 | +* gets dispatched by idle middleware to get the number ofmilliseconds of user idleness that must occur before transitioning into the specified idle status. |
119 | 119 | * if user activity is detected the user will transition back to the`ACTIVE` state. |
120 | 120 | * will throw if the thunk action does not return a number type for any idleStatus specified in the`IDLE_STATUSES` array. |
121 | 121 |
|
@@ -164,6 +164,7 @@ import { createStore, applyMiddleware, compose } from 'redux' |
164 | 164 | importrootReducerfrom'../reducers' |
165 | 165 | importDevToolsfrom'../../containers/DevTools' |
166 | 166 | import {middlewareasidleMiddleware }from'../components/redux-idle-monitor' |
| 167 | +import {actionsasidleActions }from'../comonents/redux-idle-monitor' |
167 | 168 |
|
168 | 169 | import {thunk,readyStatePromise,createLogger,crashReporter }from'redux-middleware' |
169 | 170 |
|
|