Closed VitalyyP closed 1 week ago
The changes in this pull request involve modifications to the ContactsMessengerPicker
component and its associated test file. The remarkText
prop has been removed from the test setup, and its type has been changed from required to optional in the component's prop types. Additionally, the error
, touched
, and value
properties of the input
object have been updated to optional. These alterations enhance the flexibility of the component while maintaining its core functionality.
File | Change Summary |
---|---|
src/components/common/contactsMessengerPicker/ContactsMessengerPicker.test.tsx |
Removed remarkText prop from the renderComponent function in the test setup. |
src/components/common/contactsMessengerPicker/ContactsMessengerPicker.tsx |
Updated Props type: error , touched , and value changed to optional; remarkText changed to optional boolean. Default values for error and touched set to null . |
ContactsMessengerPicker
that may relate to build failures, as it modifies the component's props and could resolve related errors.🐰 In the garden where the bunnies play,
TheremarkText
has hopped away.
With props now optional, oh what a sight,
Flexibility blooms, oh what delight!
Test cases remain, sturdy and bright,
In our code's meadow, everything feels right! 🌼
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?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Summary by CodeRabbit
New Features
error
,touched
,value
, andremarkText
.Bug Fixes