1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02: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 chore: fix "key" prop issues in front end tests (#8459) 2024-10-16 14:57:43 +02:00
auth fix: missing page titles (#8477) 2024-10-18 13:12:58 +02:00
banners chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
billing fix: invalid spreading of keys into table rows everywhere (#8551) 2024-10-28 13:47:22 +01:00
cors chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
groups refactor: ts checking conditionallyrender props (#7840) 2024-08-30 13:39:11 +02:00
instance-admin feat: add remaining resource usage to instance stats (#7958) 2024-08-22 13:09:26 +02:00
instance-privacy chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00
invoice chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
license fix: add instanceName to license display (#6065) 2024-01-30 11:05:27 +01:00
maintenance chore: add no unused imports biome rule (#5855) 2024-01-11 12:44:05 +00:00
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 task: upgraded semver dependency (and biome) (#7272) 2024-06-04 15:01:43 +02:00
users Expired invite link style (#7928) 2024-08-20 09:52:59 +02:00
Admin.tsx chore: remove navigation sidebar leftover flag (#8504) 2024-10-22 10:08:27 +02:00
AdminIndex.tsx chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
AdminRedirect.tsx feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
adminRoutes.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
filterAdminRoutes.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
filterAdminRoutes.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
LazyAdmin.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
LazyAdminExport.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
useAdminRoutes.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00