diff --git a/frontend/src/guidance/GuidancePage.js b/frontend/src/guidance/GuidancePage.js index 97518745d..ff4f561e7 100644 --- a/frontend/src/guidance/GuidancePage.js +++ b/frontend/src/guidance/GuidancePage.js @@ -341,12 +341,12 @@ function GuidancePage() { {organizations.edges.map(({ node }, idx) => { return ( - <> - + + {node.name} ({node.acronym}) {idx !== organizations.edges.length - 1 && ,} - + ) })} diff --git a/frontend/src/guidance/WebTLSResults.js b/frontend/src/guidance/WebTLSResults.js index b05d54270..54f00c272 100644 --- a/frontend/src/guidance/WebTLSResults.js +++ b/frontend/src/guidance/WebTLSResults.js @@ -65,20 +65,16 @@ export function WebTLSResults({ tlsResult }) { The following ciphers are from known weak protocols and must be disabled: {weakProtocols?.map((protocol) => { - return ( - <> - {rest[protocol]?.map(({ name }, idx) => { - return ( - - - {name} - - {weakProtocolNames[protocol]} - - ) - })} - - ) + return rest[protocol]?.map(({ name }, idx) => { + return ( + + + {name} + + {weakProtocolNames[protocol]} + + ) + }) })} ) : ( @@ -497,10 +493,10 @@ export function WebTLSResults({ tlsResult }) { {sanList.map((san, idx) => { return ( - <> + {san} {idx < sanList.length - 1 && ', '} - + ) })}