redux returns undefined in first render

后端 未结 0 1146
灰色年华
灰色年华 2021-01-25 14:52

i aprecciate any help.

 return {
    ...state,
    dataTicker: action.payload.map((item: any) => item.data),
  };

is returning the correct obj

相关标签:
回答
  • 消灭零回复
提交回复
热议问题