fix(library): scroll a sección de org al volver del workspace con ?org param

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 21:57:29 -03:00
parent c6c88501d1
commit cc5563974a
2 changed files with 19 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ vi.mock('@/components/AppHeader', () => ({ AppHeader: () => null }))
vi.mock('@tanstack/react-router', () => ({
useNavigate: () => vi.fn(),
useRouterState: () => ({ location: { search: '' } }),
useLocation: () => ({ search: '' }),
Link: ({ children }: { children: React.ReactNode }) => <>{children}</>,
}))