chore(router): remove perspective state from router #26756
Annotations
10 errors
Test:
packages/sanity/src/structure/panes/documentList/DocumentListPane.tsx#L78
TypeError: useReleases is not a function
❯ DocumentListPane2 src/structure/panes/documentList/DocumentListPane.tsx:78:20
❯ renderWithHooks ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Test:
packages/sanity/src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx#L61
TypeError: mockUseReleases.mockReturnValue is not a function
❯ src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx:61:23
|
Test:
packages/sanity/src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx#L61
TypeError: mockUseReleases.mockReturnValue is not a function
❯ src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx:61:23
|
Test:
packages/sanity/src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx#L61
TypeError: mockUseReleases.mockReturnValue is not a function
❯ src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx:61:23
|
Test:
packages/sanity/src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx#L163
TypeError: mockUseReleases.mockReturnValue is not a function
❯ src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx:163:23
|
Test:
packages/sanity/src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx#L163
TypeError: mockUseReleases.mockReturnValue is not a function
❯ src/core/releases/components/dialog/__tests__/ReleaseForm.test.tsx:163:23
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L73
TypeError: Cannot read properties of undefined (reading 'mockReturnValue')
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:73:21
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L73
TypeError: Cannot read properties of undefined (reading 'mockReturnValue')
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:73:21
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L73
TypeError: Cannot read properties of undefined (reading 'mockReturnValue')
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:73:21
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L73
TypeError: Cannot read properties of undefined (reading 'mockReturnValue')
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:73:21
|
Loading