Reputational risk by association
I think it is a non-issue. If you ever see any evidence to the contrary, just disassociate yourself from the professor's recent views. What you did as an undergraduate has nothing to do with what he has recently said or done.
No one has control over what others might do in the future. Only by now associating yourself with those views would you share in any condemnation of them. But that would be for your acts, not his.
Relax and be glad that the past is past.