• The block generates console errors and not working in the newest Block Editor.

    There are a lot of warnings, here are some of them:

    • Warning: Each child in a list should have a unique “key” prop.
    • Warning: React.createElement: type is invalid — expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named imports. Check the render method of edit.
    • The above error occurred in the component
    • etc

    In all the various places of the embed-block-for-github/repository-block.js file.

  • You must be logged in to reply to this topic.