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

Clicking a drawer sometimes breaks the documentation #464

Closed
KonradLinkowski opened this issue Apr 26, 2024 · 1 comment · Fixed by #489
Closed

Clicking a drawer sometimes breaks the documentation #464

KonradLinkowski opened this issue Apr 26, 2024 · 1 comment · Fixed by #489
Labels
ready Assumed ready enough to start type: bug 🐛 type: docs

Comments

@KonradLinkowski
Copy link

Sometimes clicking on the drawer handle causes the documentation to fail

Handle:
https://puckeditor.com/docs/api-reference/components/drawer
image

Error:
image

framework-12a146e94cfcf7c4.js:9 TypeError: Cannot read properties of undefined (reading 'Orange')
    at reduceData (2246-61c58fe94e99ca2c.js:1:42800)
    at 2246-61c58fe94e99ca2c.js:1:62414
    at 2246-61c58fe94e99ca2c.js:1:45064
    at Object.fi [as useReducer] (framework-12a146e94cfcf7c4.js:9:62266)
    at t.useReducer (framework-12a146e94cfcf7c4.js:25:6061)
    at Puck (2246-61c58fe94e99ca2c.js:1:63453)
    at Xh (framework-12a146e94cfcf7c4.js:9:60990)
    at dj (framework-12a146e94cfcf7c4.js:9:72857)
    at x (framework-12a146e94cfcf7c4.js:9:120344)
    at Vk (framework-12a146e94cfcf7c4.js:9:99130)
@chrisvxd chrisvxd added ready Assumed ready enough to start type: bug 🐛 type: docs labels May 29, 2024
@chrisvxd
Copy link
Member

Looks like an issue with the insert component action in the reducer

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Assumed ready enough to start type: bug 🐛 type: docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants