Unfortunately they are legally within their right to do so. Should the election not be certified, then it could go to court which could take a couple of years to determine. In the meantime potato would continue as acting president.
I think the the dems are working with insiders in the RNC, and we will first see a contested convention. Nikki Haley chosen by the RNC? Who knows, all I can say is hold on to your hats. Shit's going to get really rough over the coming months.