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

fix: warning when passing a boolean to border property of a Card #3275

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

rhumbertgz
Copy link
Contributor

By default MainCard wrappers like NodeCardWrapper and CardWrapper add a a solid border of 1px, but if the MainCard.border prop is used (false) the border prop was wrongly set to a boolean instead of string

Here is an example of the fixed warning

Screenshot 2024-09-27 at 09 58 47

By default MainCard wrappers like NodeCardWrapper and CardWrapper add a a solid border of 1px, but if the `MainCard.border` prop is used (`false`) the border prop was wrongly set to a boolean instead of string
Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rhumbertgz 🙏

@HenryHengZJ HenryHengZJ merged commit d3c5abf into FlowiseAI:main Sep 27, 2024
2 checks passed
@rhumbertgz rhumbertgz deleted the fix/border-warning branch September 27, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants