Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: ignore sql-editor path (#12958)

Danny Xu072ce7878635
diff --git a/frontend/src/router/useRecentVisit.ts b/frontend/src/router/useRecentVisit.ts
index c205230999..18a9e4a656 100644
--- a/frontend/src/router/useRecentVisit.ts
+++ b/frontend/src/router/useRecentVisit.ts
@@ -46,7 +46,7 @@ export function useRecentVisit() {
useDebounce(currentRoute, 50),
async (currentRoute) => {
if (!currentRoute) return;
- if (currentRoute.path.startsWith("/auth")) {
+ if (currentRoute.path.startsWith("/auth") || currentRoute.path.startsWith("/sql-editor")) {
// ignore auth related pages
// kbar is invisible on these pages
// and navigating to these pages does not make sense