AG-420 Improve React implementation

This commit is contained in:
Sean Landsman
2017-05-23 17:51:33 +01:00
parent e183a0503a
commit 06ebb8bf18
11 changed files with 217 additions and 321 deletions

View File

@@ -0,0 +1,16 @@
import cloneDeep from "lodash/cloneDeep";
export function fxDataUpdated(fxData) {
return {
type: 'FX_DATA_CHANGED',
fxData: cloneDeep(fxData)
};
}
export function fxTopMoversUpdated(fxTopMovers) {
return {
type: 'FX_TOP_MOVERS_CHANGED',
fxTopMovers: cloneDeep(fxTopMovers)
};
}