Closed manivoxel51 closed 1 month ago
The ColorFooter
component in the ColorModal.tsx
file has been simplified by removing an unnecessary comparison to true
when determining the disabled
state based on the canEditCustomColors
property.
File Path | Change Summary |
---|---|
app/packages/core/src/components/ColorModal/ColorFooter.tsx |
Simplified the logic for setting the disabled state by removing redundant comparison with true . |
In the world of code, a change so slight,
Simplified logic, making things right.
No need fortrue
, just a simple check,
Cleaner code, fewer bugs to wreck.
A rabbit hops by, with a joyful cheer,
For code that's clear, we all hold dear! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
What changes are proposed in this pull request?
(Please fill in changes proposed in this fix)
How is this patch tested? If it is not, please explain why.
(Details)
Release Notes
Is this a user-facing change that should be mentioned in the release notes?
(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?
fiftyone
Python library changesSummary by CodeRabbit
disabled
state in theColorFooter
component of the Color Modal.