1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-09 00:18:26 +01:00
unleash.unleash/frontend/src/component/admin
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
..
apiToken
auth fix: missing page titles (#8477) 2024-10-18 13:12:58 +02:00
banners
billing fix: invalid spreading of keys into table rows everywhere (#8551) 2024-10-28 13:47:22 +01:00
cors
groups
instance-admin
instance-privacy
invoice
license fix: add instanceName to license display (#6065) 2024-01-30 11:05:27 +01:00
maintenance
menu chore: remove navigation sidebar leftover flag (#8504) 2024-10-22 10:08:27 +02:00
network [Gitar] Cleaning up stale flag: displayTrafficDataUsage with value true (#8481) 2024-10-24 08:05:06 +02:00
roles fix: missing page titles (#8477) 2024-10-18 13:12:58 +02:00
serviceAccounts
users
Admin.tsx chore: remove navigation sidebar leftover flag (#8504) 2024-10-22 10:08:27 +02:00
AdminIndex.tsx
AdminRedirect.tsx
adminRoutes.ts
filterAdminRoutes.test.ts
filterAdminRoutes.ts
LazyAdmin.tsx
LazyAdminExport.tsx
useAdminRoutes.ts