diff options
| author | ynhhoJ <22500212+ynhhoJ@users.noreply.github.com> | 2026-03-23 16:43:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-23 10:43:00 -0400 |
| commit | 1e8bf43e5faddc4f3fb93d0967c18bb920474b47 (patch) | |
| tree | 9551d3ea22b674e59cef93ba49afd629d5e909ef /frontend/src/components | |
| parent | 259d01d7ec1b61e4d5605f4b0747a65e78989cf4 (diff) | |
| download | decky-loader-1e8bf43e5faddc4f3fb93d0967c18bb920474b47.tar.gz decky-loader-1e8bf43e5faddc4f3fb93d0967c18bb920474b47.zip | |
* fix: add unique key to list items in TestingVersionList component
* fix: add unique key to PluginCard components in BrowseTab
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/settings/pages/testing/index.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/components/store/Store.tsx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/settings/pages/testing/index.tsx b/frontend/src/components/settings/pages/testing/index.tsx index 3c032361..0a21e096 100644 --- a/frontend/src/components/settings/pages/testing/index.tsx +++ b/frontend/src/components/settings/pages/testing/index.tsx @@ -80,7 +80,7 @@ export default function TestingVersionList() { <ul style={{ listStyleType: 'none', padding: '0' }}> {testingVersions.map((version) => { return ( - <li> + <li key={`${version.id}_${version.name}`}> <Field label={ <> diff --git a/frontend/src/components/store/Store.tsx b/frontend/src/components/store/Store.tsx index 72187cbc..f1d50033 100644 --- a/frontend/src/components/store/Store.tsx +++ b/frontend/src/components/store/Store.tsx @@ -240,6 +240,7 @@ const BrowseTab: FC<{ setPluginCount: Dispatch<SetStateAction<number | null>> }> }) .map((plugin: StorePlugin) => ( <PluginCard + key={`${plugin.id}_${plugin.name}`} storePlugin={plugin} installedPlugin={installedPlugins.find((installedPlugin) => installedPlugin.name === plugin.name)} /> |
