Prevent full re-render on final KCL file deletion

This commit is contained in:
Frank Noirot
2024-09-05 17:50:57 -04:00
parent ca4a442cce
commit 04781abbb5

View File

@ -249,7 +249,7 @@ export const FileMachineProvider = ({
// Refresh the route selected above because it's possible we're on
// the same path on the navigate, which doesn't cause anything to
// refresh, leaving a stale execution state.
navigate(0)
navigate('.')
return
}