AG-420 Improve React implementation
This commit is contained in:
9
src-trader-dashboard/actions/fxDataUpdated.js
Normal file
9
src-trader-dashboard/actions/fxDataUpdated.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import cloneDeep from "lodash/cloneDeep";
|
||||
|
||||
export default function fxDataUpdatedAction(fxData) {
|
||||
return {
|
||||
type: 'FX_DATA_CHANGED',
|
||||
fxData: cloneDeep(fxData)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user