Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-4022

React warning (missing key) when inspecting browser log

XMLWordPrintable

    • ODC Sprint 228
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

      Description of problem:
      Unnecessary react warning:

      Warning: Each child in a list should have a unique "key" prop.
      
      Check the render method of `NavSection`. See https://reactjs.org/link/warning-keys for more information.
      NavItemHref@http://localhost:9012/static/main-785e94355aeacc12c321.js:5141:88
      NavSection@http://localhost:9012/static/main-785e94355aeacc12c321.js:5294:20
      PluginNavItem@http://localhost:9012/static/main-785e94355aeacc12c321.js:5582:23
      div
      PerspectiveNav@http://localhost:9012/static/main-785e94355aeacc12c321.js:5398:134
      

      Version-Release number of selected component (if applicable):
      4.11 was fine
      4.12 and 4.13 (master) shows this warning

      How reproducible:
      Always

      Steps to Reproduce:
      1. Open browser log
      2. Open web console

      Actual results:
      React warning

      Expected results:
      Obviously no react warning

        1. warning.png
          172 kB
          Christoph Jerolimov

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: