Fix JSX attribute name after refactoring.