We've fixed the issue and reverting edge functions should work now!
Resolved
Investigating
Reverting to an edit will currently fail if there are edge functions in the project. We're actively investigating.