1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-09 01:17:06 +02:00
unleash.unleash/frontend/src/component/changeRequest
Thomas Heartman 622998c62e
fix: invalid spreading of keys into table rows everywhere (#8551)
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.
2024-10-28 13:47:22 +01:00
..
ChangeRequest feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
ChangeRequestConfirmDialog chore: rename toggle to flag #7 (#7125) 2024-05-23 13:19:49 +03:00
ChangeRequestOverview Refactor: Remove react-timeago (#7943) 2024-08-21 12:03:03 +02:00
ChangeRequestSidebar feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
ChangeRequestStatusBadge chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
ModifiedInChangeRequestStatusBadge
ProjectChangeRequests fix: invalid spreading of keys into table rows everywhere (#8551) 2024-10-28 13:47:22 +01:00
ChangeRequest.test.tsx feat: configurable strategies limit (#7488) 2024-07-01 10:03:26 +02:00
changeRequest.types.ts feat: variant dependencies ui (#6739) 2024-03-29 19:28:49 +01:00
ChangeRequestContext.tsx chore: track metrics for how many CRs are moved into next state with conflicts (#6109) 2024-02-05 18:27:11 +09:00
ChangeRequestPermissions.test.tsx feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
changesCount.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
UpdateCount.test.tsx chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00
UpdateCount.tsx chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00