Very true. However, having a woman in a lead technical role to provide mentorship and inspiration to female developers is very important for encouraging more women to become developers and stay in the industry.
A female involved in hiring might mean the process is less discriminatory. Thus a female influencing hirings wouldn't necessarily be illegal, but potentially more legal.
I was talking about the issue with the comment above mine not collecting individual role information so you can't determine who does what, just their name, gender, and bio.