Files
Gildas Garcia 9dd19f1da5 fix: prevent unnecessary dialog after saving a new edge function (#43854)
## Problem

After deploying a new edge function where you actually modified the code
from the initial template, a dialog appears about unsaved changes.

## Solution

We must check that even though the files have changed from the initial
ones, we actually saved them by deploying the function.

However, because we trigger the navigation in the mutation `onSuccess`
side effect, it happens before react can update the state that would
prevent the dialog from appearing.
2026-03-17 12:27:44 +01:00
..