<MenuItem onClick={() => handleDelete(post._id, auth.token)}> <ListItemIcon> <DeleteIcon fontSize='small' /> </ListItemIcon> <ListItemText>Delete</ListItemText> </MenuItem>