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

Crash when rendering with unregistered layout plugin #90

Open
goshander opened this issue Oct 16, 2023 · 0 comments
Open

Crash when rendering with unregistered layout plugin #90

goshander opened this issue Oct 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@goshander
Copy link
Member

goshander commented Oct 16, 2023

Non informative error with global crash all dashkit

useCalcLayout.js:6 Uncaught TypeError: Cannot read properties of undefined (reading 'defaultLayout')
    at useCalcLayout.js:6:1
    at Array.map (<anonymous>)
    at onUpdatePropsConfig (useCalcLayout.js:4:1)
    at useCalcPropsLayout (useCalcLayout.js:11:1)
    at DashKitView.js:17:1
    at renderWithHooks (react-dom.development.js:14985:1)
    at updateForwardRef (react-dom.development.js:17044:1)
    at beginWork (react-dom.development.js:19098:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)

image

Code link

@goshander goshander added the enhancement New feature or request label Oct 16, 2023
@goshander goshander changed the title Crash when rendered with unregistered layout plugin Crash when rendering with unregistered layout plugin Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants