Just to underscore this, you [generic] have to understand that for the most part racism operates "under the radar" with some degree of plausible deniability. This functions both to avoid challenges from black folks and their allies but also, more importantly, to protect the majority of racist white people from the moral dissonance of what they're doing. (Even in the Confederacy, slave owners often deceived themselves with plausible-to-only-themselves lies about how much their slaves "loved" them and what a happy family they all were—while routinely disrupting and dissolving families, enacting harsh and torturous punishments for any perceived infraction, and casually raping enslaved people. Still, white slave owners and anti-abolitionists had to convince themselves that they were fair people operating in a just society, and a lot of racist beliefs go into giving people enough plausible cover to believe these morally inconsistent things without triggering too much dissonance or fear.)
Post-Civil Rights era, especially, that racism had to be furrowed into plausible deniability in order to avoid challenges by civil rights activists. So racist white attempts to enforce a social order with whites at the top have to be cloaked in excuses and hidden... meaning that racism gets expressed in terms of segregation and redlining, and when those are also curtailed, racism gets expressed in terms of things associated with black people without actually being about those things in specific. The moral panic about saggy pants and rap in the 90s was not actually about pants or music, just as the moral panic about pit bulls isn't actually about dogs.
If the goal was actually dog safety in our communities, we know what that looks like, and it involves looking at individual bite histories (a much better predictor of danger than breed is) combined with reducing risk factors for dog bites like tethering dogs and educating children about how to handle a dog in an emergency. If we cared about dog bites, we would study them and examine them systematically and look for ways to reduce them.
But it's not about dog bites, except as a plausible fig leaf. It's about racism. It's about policing the dogs that black folks are associated with, even when those communities have taken it upon themselves to proactively breed dogs for non aggression and ease of handling while retaining the visual look they like. (My neighbor was just showing me his new baby American Bully pup last night. I'm willing to bet that she's going to be a lot easier to handle and less mouthy, for example, than my cattle dog was. Because that's the goddamn point of Am Bullies. Nice classic-looking pup, too; I wasn't initially sure if she was an Am Staff or a bully.)
The point is the racism. It's not the dogs. Changing the actual risk to the public of the dogs doesn't change the racism one iota. Because the dog bite risk was never the point in the first damn place.