mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-09 01:17:06 +02:00
This commit fixes invalid prop spreading warnings in all the table rows I could find through a quick search in the code base. The issue is that you can't spread the "key" prop into a component. It *must* be an explicit prop. The process is the same everywhere: 1. Instead of spreading `row.getRowProps()` into the component, we extract and split it: `const {key, ...rowProps} = row.getRowProps()`. 2. Do the same thing for cellProps. |
||
---|---|---|
.. | ||
ChangeRequest | ||
ChangeRequestConfirmDialog | ||
ChangeRequestOverview | ||
ChangeRequestSidebar | ||
ChangeRequestStatusBadge | ||
ModifiedInChangeRequestStatusBadge | ||
ProjectChangeRequests | ||
ChangeRequest.test.tsx | ||
changeRequest.types.ts | ||
ChangeRequestContext.tsx | ||
ChangeRequestPermissions.test.tsx | ||
changesCount.ts | ||
UpdateCount.test.tsx | ||
UpdateCount.tsx |