Improve quality of Typescripting (#25232)

This commit is contained in:
Michael Telatynski
2023-05-05 09:08:36 +01:00
committed by GitHub
parent c0e070934a
commit 9e6467c684
6 changed files with 19 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ const VectorAuthFooter = (): ReactElement => {
{ text: "GitHub", url: "https://github.com/vector-im/element-web" },
];
const authFooterLinks = [];
const authFooterLinks: JSX.Element[] = [];
for (const linkEntry of links) {
authFooterLinks.push(
<a href={linkEntry.url} key={linkEntry.text} target="_blank" rel="noreferrer noopener">