add linting for react/destructuring-assignment and fix errors. ToDo: … …
…test code and check for errors