Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent full re-render on final KCL file deletion #3808

Closed
wants to merge 10 commits into from
2 changes: 1 addition & 1 deletion src/components/FileMachineProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,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 {
message: 'No more files in project, created main.kcl',
}
Expand Down
Loading