Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error viewing module schema in Console #2754

Closed
tomdaffurn opened this issue Sep 20, 2024 · 1 comment
Closed

Error viewing module schema in Console #2754

tomdaffurn opened this issue Sep 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working console Web console

Comments

@tomdaffurn
Copy link
Contributor

Click the arrow next to a module name several times. The 3rd click causes this error:

Unexpected Application Error!
Rendered more hooks than during the previous render.
Error: Rendered more hooks than during the previous render.
    at updateWorkInProgressHook (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:11678:21)
    at updateRef (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:12064:22)
    at Object.useRef (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:12745:22)
    at Object.useRef (http://localhost:8892/node_modules/.vite/deps/chunk-5FAUR5XI.js?v=2af07823:1074:29)
    at useNavigateStable (http://localhost:8892/node_modules/.vite/deps/react-router-dom.js?v=a2b19b81:4366:25)
    at useNavigate (http://localhost:8892/node_modules/.vite/deps/react-router-dom.js?v=a2b19b81:3859:24)
    at DeclLink (http://localhost:8892/src/features/modules/decls/DeclLink.tsx:78:20)
    at renderWithHooks (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:11548:26)
    at updateFunctionComponent (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:14582:28)
    at beginWork (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:15924:22)
💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.

Repro:
Screenshot 2024-09-20 at 2 52 39 PM

@tomdaffurn tomdaffurn added bug Something isn't working console Web console labels Sep 20, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Sep 20, 2024
@ftl-robot ftl-robot mentioned this issue Sep 20, 2024
@wesbillman wesbillman removed the triage Issue needs triaging label Sep 20, 2024
@deniseli
Copy link
Contributor

Closing for now since none of us could reproduce it, but I also remember seeing this in the past so if anyone catches this, please let me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working console Web console
Projects
None yet
Development

No branches or pull requests

3 participants