diff --git a/eslint.config.js b/eslint.config.js index 27e99327..ede9c74b 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -117,6 +117,9 @@ export default [ // Matrix video events carry no caption field, so there is no caption source to read. 'jsx-a11y/media-has-caption': 'off', + + // Prism tokens are not unique within a line, so the array index is the only key available. + 'react/no-array-index-key': 'off', }, }, ].flatMap((config) => diff --git a/src/app/components/DeviceVerification.tsx b/src/app/components/DeviceVerification.tsx index 05310bc0..15040baf 100644 --- a/src/app/components/DeviceVerification.tsx +++ b/src/app/components/DeviceVerification.tsx @@ -136,7 +136,6 @@ function CompareEmoji({ sasData }: { sasData: ShowSasCallbacks }) { > {sasData.sas.emoji?.map(([emoji, name], index) => ( ( ( .reverse() .map((fileItem, index) => (