Skip to content

Conversation

@Sriharipriya897
Copy link

This PR addresses two primary issues in the Clients.js component:

Fixes a typo in the TableRow component: Corrected the typo styel to the proper React attribute style to ensure the cursor change and other inline styles are applied correctly.

Adds defensive programming/safety checks: Implemented optional chaining (?) and null-coalescing (|| 0) when accessing properties of the clients prop (e.g., rows?.length and in the rowsPerPage state initialization). This prevents the component from crashing or throwing errors if the client data is initially null or undefined while it is loading from the Redux store.

@netlify
Copy link

netlify bot commented Oct 9, 2025

👷 Deploy request for accountill pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1fa8d7e

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