This is likely trivial but I've spent an abnormal amount of time trying to figure out why I get this "Unexpected block statement surrounding arrow body " error for the code below
computed: {
filteredItems() {
return this.items.filter((item) => {
return (item.type.toLowerCase().indexOf(this.search.toLowerCase()) > -1);
});
},
},