Skip to content

Error in @wordpress/components Storybook #68090

@psrpinto

Description

@psrpinto

Description

An error is shown in the @wordpress/components Storybook, in the "Playground -> Block Editor" section.

Step-by-step reproduction instructions

  1. Go to https://wordpress.github.io/gutenberg/?path=/docs/playground-block-editor--docs
  2. The error is shown

Screenshots, screen recording, code snippet

Image
Error: settings is undefined
  at useMemo (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:560907)
  at ./node_modules/react/cjs/react.production.min.js/exports.useMemo (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:632997)
  at useMediaUploadSettings (/gutenberg/4947.ae0f0d66.iframe.bundle.js:1:570189)
  at ./packages/block-editor/build-module/index.js/ExperimentalBlockEditorProvider< (/gutenberg/4947.ae0f0d66.iframe.bundle.js:1:570900)
  at Nh (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:554670)
  at Vk (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:613271)
  at Uk (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:602566)
  at Tk (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:602497)
  at Ik (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:602364)
  at Nk (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:599248)
  at Gk (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:597806)
  at J (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:635257)
  at R (/gutenberg/9584.e086b6ad.iframe.bundle.js:94:635806)

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

StorybookStorybook and its stories for components[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions