From f280b3f84707bf52b4cc9bb257220aabd473b407 Mon Sep 17 00:00:00 2001 From: ifraimka Date: Tue, 16 Apr 2024 17:26:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20-=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B8=D0=BA=D0=BE=D0=BD=D0=BE=D0=BA?= =?UTF-8?q?=20=D1=81=D0=BE=D1=86.=20=D1=81=D0=B5=D1=82=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer/Footer.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 52a535c..2e62fde 100755 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -36,7 +36,7 @@ function Footer({ links = mockLinks, contacts = mockContacts }) { const loadData = async () => { const footerMedia = await getMedia('footer'); const newMediaList = mediaList; - + for (let media of footerMedia) { newMediaList[media.name].icon = media.url; } @@ -53,7 +53,7 @@ function Footer({ links = mockLinks, contacts = mockContacts }) {
- { Object.keys(mediaList).forEach((link, index) => ) } + { Object.keys(mediaList).map((link, index) => ) }
);