I have an issue with her ethics. However, that not being the question here, I think the judge made the right decision based on the facts presented and his reasoning.
I might see the conflict of interest if she was shacking up with defense counsel.
Fani Willis can stay on Trump's Georgia case if Nathan Wade leaves: Ruling (thehill.com)