Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Senait7-ux
Copy link

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

@Senait7-ux Senait7-ux requested a review from Copilot September 18, 2025 19:45
Copy link

@Copilot Copilot AI left a 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.

@Senait7-ux Senait7-ux requested a review from Copilot September 18, 2025 19:52
Copy link

@Copilot Copilot AI left a 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.

@Senait7-ux Senait7-ux requested a review from iksheth September 18, 2025 19:54
@Senait7-ux
Copy link
Author

#1146

@Senait7-ux Senait7-ux requested a review from huuaho September 18, 2025 20:01
Copy link

@huuaho huuaho left a comment

Choose a reason for hiding this comment

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

LGTM!

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