Skip to content

Commit e719675

Browse files
committed
fix: sonar lint issue
Signed-off-by: Adam Setch <[email protected]>
1 parent 538b7e5 commit e719675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/components/layout/EmojiSplash.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const EmojiSplash: FC<IEmojiSplash> = ({
3131
</Stack>
3232

3333
{subHeadings.map((description, i) => {
34+
const key = `error_description_${i}`;
3435
return (
35-
// biome-ignore lint/suspicious/noArrayIndexKey: using index for key to keep the error constants clean
36-
<div className="text-center" key={`error_description_${i}`}>
36+
<div className="text-center" key={key}>
3737
{description}
3838
</div>
3939
);

0 commit comments

Comments
 (0)