AG-420 Improve React implementation
This commit is contained in:
16
src-trader-dashboard/actions/fxDataActions.js
Normal file
16
src-trader-dashboard/actions/fxDataActions.js
Normal 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)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user