-
Notifications
You must be signed in to change notification settings - Fork 27
C3dc 1847 #1146
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
base: 1.0.1-c3dc
Are you sure you want to change the base?
C3dc 1847 #1146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the CPIModal component to properly handle data updates when the row prop changes and increments package versions accordingly.
- Refactored useState initialization to use direct value instead of function callback
- Added useEffect to sync component state with row prop changes
- Updated package versions for table and paginated-table packages
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
packages/table/src/body/components/CPIModal.js | Simplified useState initialization and added useEffect to handle row prop changes |
packages/table/package.json | Incremented version from 1.0.0-c3dc.29 to 1.0.0-c3dc.30 |
packages/paginated-table/package.json | Updated table dependency and incremented version from 1.0.0-c3dc.35 to 1.0.0-c3dc.36 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?