From d5d22f221eb0168d5889f1cdfbc8c73a3ff525fa Mon Sep 17 00:00:00 2001 From: Pantheon Bot Date: Tue, 17 Dec 2024 23:30:18 +0000 Subject: [PATCH] Apply Prettier formatting --- src/components/releases.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/releases.js b/src/components/releases.js index f818635d4b..47afbf946d 100644 --- a/src/components/releases.js +++ b/src/components/releases.js @@ -16,8 +16,12 @@ const Releases = ({ data }) => { const oneYearAgo = subYears(new Date(), 1); // Filter releases that are newer than one year - const filteredReleases = data.allTerminusReleasesJson.edges.filter((release) => - isAfter(parseISO(release.node.fields.markdownBody.childMdx.body.published_at), oneYearAgo) + const filteredReleases = data.allTerminusReleasesJson.edges.filter( + (release) => + isAfter( + parseISO(release.node.fields.markdownBody.childMdx.body.published_at), + oneYearAgo, + ), ); return ( @@ -28,7 +32,9 @@ const Releases = ({ data }) => { {release.node.tag_name} - {release.node.fields.markdownBody.childMdx.body} + + {release.node.fields.markdownBody.childMdx.body} +