The Electoral Count Act reforms currently in Congress would codify that state legislatures can't declare a "failed election" and overturn results.
That's exactly what Trump wanted in 2020. It could happen in 2024.
This is why we must pass these reforms during the lame-duck.