mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
## Problem The SQL Editor had a browser navigation issue where pressing the back button would get stuck in a redirect loop between `/sql` and `/sql/new`, making it difficult to navigate away from the SQL Editor using standard browser controls. ## Solution Changed automatic redirects from `router.push()` to `router.replace()` in the SQL Editor routing logic. This prevents adding unwanted history entries during automatic navigation, allowing the back button to work as expected. ## Related - Closes https://github.com/supabase/supabase/issues/43035