diff --git a/src/OnboardingSPA/components/MiniPreview/index.js b/src/OnboardingSPA/components/MiniPreview/index.js index d67597062..a49f3e638 100644 --- a/src/OnboardingSPA/components/MiniPreview/index.js +++ b/src/OnboardingSPA/components/MiniPreview/index.js @@ -70,16 +70,14 @@ const MiniPreview = ({ title, desc, icon, socialData, isSocialFormOpen, setIsSoc } function socialIconList() { - var socialIconList = [] - socialDataset.map( (socialInfo) => { - socialIconList.push( + return socialDataset.map( (socialInfo) => { + return (