Fix failing react test due to duplicate component