From 67912e58face2ab5f8c51060c1aa3713742cea6d Mon Sep 17 00:00:00 2001 From: David Moulton Date: Thu, 30 Apr 2020 10:23:30 +0100 Subject: [PATCH] fix(Elife): More appropriate array method --- src/themes/elife/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes/elife/index.ts b/src/themes/elife/index.ts index 025fd2a16..063d919e6 100644 --- a/src/themes/elife/index.ts +++ b/src/themes/elife/index.ts @@ -91,7 +91,7 @@ const buildSocialSharers = (title: string, doi: string): void => { '', url: `https://reddit.com/submit/?title=${escapedTitle}&url=${escapedDoi}`, }, - ].map( + ].forEach( (sharer: { description: string imageMarkup: string