Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7522

Submenu: Fix Key prop on Array within submenu items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Should have Should have
    • None
    • 3
    • Block: ToC

      1. Description
        There is "key" a error when <SubmenuItems/> are being rendered.
      Warning: Each child in a list should have a unique "key" prop.
      Check the render method of `SubmenuItems`. See https://reactjs.org/link/warning-keys for more information.
      SubmenuItems@http://www.planet4.test/wp-content/plugins/planet4-plugin-gutenberg-blocks/assets/build/editorIndex.js?ver=1715352212:5374:19
      section
      SubmenuEditor@http://www.planet4.test/wp-content/plugins/planet4-plugin-gutenberg-blocks/assets/build/editorIndex.js?ver=1715352212:5351:20
      Edit@http://www.planet4.test/wp-includes/js/dist/block-editor.js?ver=6e5146eb39396f25982a:36240:7
      createBlockEditFilter/withBlockEditHooks</<@http://www.planet4.test/wp-includes/js/dist/block-editor.js?ver=6e5146eb39396f25982a:17996:21
      withPatternOverrideControls</<@http://www.planet4.test/wp-includes/js/dist/editor.js?ver=a49c9bfd0070c49a3a53:5536:83
      withMultipleValidation</<@http://www.planet4.test/wp-includes/js/dist/edit-post.js?ver=29e6354ff01f57cc7421:369:18
      withDispatch/</<@http://www.planet4.test/wp-includes/js/dist/data.js?ver=f32512eb1197234b3023:4466:46
      withSelect/</<@http://www.planet4.test/wp-includes/js/dist/data.js?ver=f32512eb1197234b3023:4316:31
      @http://www.planet4.test/wp-includes/js/dist/compose.js?ver=26d30733522e03eb136b:3279:10
      

            dtovbein Dan Tovbein
            dtovbein Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: