improve code readability

This commit is contained in:
Aarni Halinen
2021-05-08 02:31:37 +03:00
parent eae9061ab7
commit 2371915a85
+3 -3
View File
@@ -137,14 +137,14 @@ const ContactsPageView: React.FC = () => (
</aside>
</TextSection>
{orderedCommittees.map((json, idx) => (
{orderedCommittees.map((json) => (
<React.Fragment key={json.slug}>
{(idx !== 0) && (
{(json.slug !== "board") && (
<Divider />
)}
<TextSection id={json.slug}>
<CommitteeContainer committee={json}>
{(idx === 0) && (
{(json.slug === "board") && (
<p>
{"Hallitukseen saa yhteyden lähettämällä sähköpostia "}
<BlueLink to="mailto:hallitus@sahkoinsinoorikilta.fi">