fix(e2e): stop the login page requesting linked servers and update the background-activity test

This commit is contained in:
Chris Scott committed 2026-10-20 23:04:26 -04:00
1 parent 052f2bbe04
commit 884233d95c
5 files changed
+44 -11

No files matched your search

+6 -2
View File
@@ -149,6 +149,11 @@ function GlobalShortcuts() {
return null
}
function SidebarServerRouteSync() {
useSidebarServerRouteSync()
return null
}
function ServerScope({ children }: { children: ReactNode }) {
const { serverId } = useParams<{ serverId: string }>()
@@ -165,8 +170,6 @@ function AppShell() {
const rootRef = useRef<HTMLDivElement>(null)
const { openSheet, open } = useMobileTabBar()
useSidebarServerRouteSync()
const swipeNav = useSwipeNavigation()
const getRouteSwipeBackTarget = useCallback(
@@ -236,6 +239,7 @@ function AppShell() {
<RepoWorktreesProvider>
<KeyboardShortcutsProvider>
<GlobalShortcuts />
<SidebarServerRouteSync />
<div className="flex h-dvh w-full min-w-0 flex-col">
<PwaUpdatePrompt />
<div ref={rootRef} className="flex flex-1 min-h-0 w-full min-w-0">