They got rid of that law when they realised that there were no girls and that they were facing the same kind of demographic problems as Japan.
Indeed, China's self-inflicted demographic problems make me think that they won't be nearly as powerful in the rest of the 21st century as most people seem to think.