ref: Improves few of the older React components

This commit is contained in:
Alicia Sykes
2024-06-08 15:21:10 +01:00
parent 03e980eafc
commit e2d83b627a
5 changed files with 7 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ const TechStackCard = (props: {data: any, title: string, actionButtons: any }):
<Card heading={props.title} actionButtons={props.actionButtons} styles={cardStyles}>
{technologies.map((tech: any, index: number) => {
return (
<TechStackRow>
<TechStackRow key={`tech-stack-row-${index}`}>
<div className="r1">
<Heading as="h4" size="small">
{tech.name}

View File

@@ -52,7 +52,7 @@ const TlsCard = (props: {data: any, title: string, actionButtons: any }): JSX.El
<Card heading={props.title} actionButtons={props.actionButtons}>
{ cipherSuites.length && cipherSuites.map((cipherSuite: any, index: number) => {
return (
<ExpandableRow key={`tls-${index}`} lbl={cipherSuite.title} val="" rowList={cipherSuite.fields} />
<ExpandableRow key={`tls-cipher-${index}`} lbl={cipherSuite.title} val="" rowList={cipherSuite.fields} />
);
})}
{ !cipherSuites.length && (

View File

@@ -51,7 +51,7 @@ const Footer = (props: { isFixed?: boolean }): JSX.Element => {
View source at <ALink href={githubUrl}>github.com/lissy93/web-check</ALink>
</span>
<span>
<Link to="/check/about">Web-Check</Link> is
<Link to="/about">Web-Check</Link> is
licensed under <ALink href={licenseUrl}>MIT</ALink> -
© <ALink href={authorUrl}>Alicia Sykes</ALink> 2023
</span>