Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed prop type for UAST search #315

Open
carlosms opened this issue Feb 15, 2019 · 0 comments
Open

Failed prop type for UAST search #315

carlosms opened this issue Feb 15, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@carlosms
Copy link
Contributor

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 carlosms added the bug Something isn't working label Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant