Friend's boyfriend said racist things about me. She wants to give him "one more chance". Not sure how to feel about that?

For clarity, I'm black, the friend and her boyfriend are white.

I've been friends with someone for about 3 months now, and they started dating a guy shortly after we met. We're not the closest friends in the world, but we joke around with each other like friends do. Last night, she had told me that her boyfriend accused her of cheating with me and uhhh said some racist stuff about me apparently. She didn't show me any screenshots but I can imagine what it was.

I kind of expected her to break up with him, as they've had plenty of other problems anyway, but earlier tonight, she told me he had apologized to her for what he said, and that his anger got the best of him. She said she's giving him one last chance.

This really doesn't sit right with me. Like I flat out told her, "Lashing out in anger by being racist, means that you're racist." and it feels like she's just enabling/just okay with that kind of behavior. On the other hand, I guess what kind of people she associates with, to an extent, is none of my business.

It's just really making me rethink being her friend now. What do you recommend I do?