gitbase-web icon indicating copy to clipboard operation
gitbase-web copied to clipboard

Failed prop type for UAST search

Open carlosms opened this issue 6 years ago • 0 comments
trafficstars

Opening the UAST viewer (individual, with the UAST button), and then performing a search, e.g. //*, produces this error in the console. It might happen only during the loading phase, as it then renders correctly.

index.js:2178 Warning: Failed prop type: The prop `id` is marked as required in `Node`, but its value is `undefined`.
    in Node (created by UASTViewer)
    in UASTViewer (at UASTViewerPane.js:54)
    in div (at UASTViewerPane.js:73)
    in UASTViewerPane (at UASTViewer.js:74)
    in div (at UASTViewer.js:73)
    in UASTViewer (at App.js:323)
    in div (created by ModalBody)
    in ModalBody (at App.js:461)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in ModalDialog (created by Modal)
    in Transition (created by Fade)
    in Fade (created by DialogTransition)
    in DialogTransition (created by Modal)
    in RefHolder (created by Modal)
    in div (created by Modal)
    in Portal (created by Modal)
    in Modal (created by Modal)
    in Modal (at App.js:453)
    in div (at App.js:411)
    in App (at index.js:7)

Warning: Each child in an array or iterator should have a unique "key" prop.

Check the render method of `UASTViewer`. See https://fb.me/react-warning-keys for more information.
    in Node (created by UASTViewer)
    in UASTViewer (at UASTViewerPane.js:54)
    in div (at UASTViewerPane.js:73)
    in UASTViewerPane (at UASTViewer.js:74)
    in div (at UASTViewer.js:73)
    in UASTViewer (at App.js:323)
    in div (created by ModalBody)
    in ModalBody (at App.js:461)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in ModalDialog (created by Modal)
    in Transition (created by Fade)
    in Fade (created by DialogTransition)
    in DialogTransition (created by Modal)
    in RefHolder (created by Modal)
    in div (created by Modal)
    in Portal (created by Modal)
    in Modal (created by Modal)
    in Modal (at App.js:453)
    in div (at App.js:411)
    in App (at index.js:7)

carlosms avatar Feb 15 '19 13:02 carlosms