filtre
const forwardFn = (id) => {
console.log(id);
const filteredArray = state.filter((e, index) => {
console.log(index);
return index !== id;
});
setstate(filteredArray);
}; aka
Blue Baboon