Doing this excludes the target item from the array returned from filter() . const initialState = [ { id: 1, name: 'Banana', amount: 5 } ...
確定! 回上一頁