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

React PropType errors in Permissions package #3508

Closed
kieckhafer opened this Issue Jan 18, 2018 · 0 comments

Comments

1 participant
@kieckhafer
Copy link
Member

commented Jan 18, 2018

There are two React PropType errors that occur in the Permissions panel, when a new package is added that does not have a label in the registry, but does have a provides.

Warning: Failed prop type: Invalid prop labelof typearraysupplied toReaction(ListItem), expected string.

modules.js:51358 Warning: Failed prop type: Invalid prop defaultValueof typearraysupplied toReaction(Translation), expected string.

This stems from a semi-recent change where we changed the Registry's provides to be an Array, rather than a string, as the label needs to be a string for various components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.