这是我的代码,有错误
TypeError:Income.filter不是函数
https://gyazo.com/a4b3f601cf9cd18a5cce0cf9d134f656 https://gyazo.com/3220b3e1b54364af6ca533606434a9ae
filterUser = email => {
const { earnings } = this.props.user;
return earnings.filter(earning => earning.email === email); };