From 0bc252bee663b455d5a0f13c40b7bd224cb0e1b1 Mon Sep 17 00:00:00 2001 From: Johnathon Weaver Date: Tue, 6 Oct 2020 01:22:20 +0800 Subject: [PATCH] Missed that one haha --- src/pages/News.js | 80 +++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/src/pages/News.js b/src/pages/News.js index 7e99db4..8b03aa6 100644 --- a/src/pages/News.js +++ b/src/pages/News.js @@ -171,7 +171,7 @@ class News extends Component {

Explore

{ - /* + /*
Latest
@@ -231,47 +231,45 @@ class News extends Component { >
{ - Object.entries(data).map(([key, item], index) => { - return ( - - {(index > 0) - ?
-

{key}

-
- :
-

Welcome

-
+ Object.entries(data).map(([key, item], index) => ( + + {(index > 0) + ?
+

{key}

+
+ :
+

Welcome

+
+ } + <> + { + item.map((article, i) => ( + + { + this.renderArticle(article) + } + {!((i+1) % (artLimit*6)) && + +

+ Please support us +

+
+

+ By supporting, it enables us to carry on + spreading awareness to a bigger audience + about our right to privacy with tools + that make it easier to follow the privacy + world. +

+
+
+ } +
+ )) } - <> - { - item.map((article, i) => ( - - { - this.renderArticle(article) - } - {!((i+1) % (artLimit*6)) && - -

- Please support us -

-
-

- By supporting, it enables us to carry on - spreading awareness to a bigger audience - about our right to privacy with tools - that make it easier to follow the privacy - world. -

-
-
- } -
- )) - } - -
- ) - }) + +
+ )) }