Forgot to enclose key destructuring in square brackets.