Race was always a flawed idea. To be honest i think it’s not that bad in a fantasy setting but it can also lead to some weird and uncomfortable stuff and i don’t think there’s a good reason to keep it.
On the flip side, “ancestries” or backgrounds or whatever are a lot more flexible as a concept and let you do some cool stuff.