-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Console
warning: Failed prop type when clicking on Add to collection
on latest develop
#2715
Comments
This error occurs when there are no collections, one potential solution could be to send an alert message "Please create a collection first". Can I work on this? |
Can you please paste the exact text of the error? I have seen prop-types errors when I have a collection which contains deleted items. |
@lindapaiste |
Prop-types errors are always shown in development only. That warning doesn't seem like it's due to having no collections. An empty array would still meet all of the conditions enforced by the prop types. It's due to one or more But I don't know if we need a new PR because it will be fixed by #2353 which removes all of the props. |
Closing as a duplicate of #2351 |
p5.js version
2.10.0
What is your operating system?
Mac OS
Web browser and version
Chrome and 117.0.5938.132
Actual Behavior
Console
warning: Failed prop type when clicking onAdd to collection
on latest developExpected Behavior
There should be no console warning
Steps to reproduce
Steps:
The text was updated successfully, but these errors were encountered: