From 488867e6ca826d4ee4e48f0588b75282f18194e4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 8 Sep 2017 14:41:35 +0800 Subject: [PATCH] code style --- src/components/GlobalFooter/index.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/components/GlobalFooter/index.js b/src/components/GlobalFooter/index.js index ed668319..32b852fa 100644 --- a/src/components/GlobalFooter/index.js +++ b/src/components/GlobalFooter/index.js @@ -7,10 +7,19 @@ export default ({ className, links, copyright }) => { return (
{ - links && -
- {links.map(link => {link.title})} -
+ links && ( +
+ {links.map(link => ( + + {link.title} + + ))} +
+ ) } {copyright &&
{copyright}
}
-- GitLab