From a0d584156029f56a4d11a00fd07ba55496a40061 Mon Sep 17 00:00:00 2001 From: Stuart Taylor Date: Fri, 3 Aug 2018 14:42:50 +0100 Subject: [PATCH] fix(loader): Fix loader position --- news/routes/Featured/Featured.js | 6 +++++- news/routes/Show/Show.js | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/news/routes/Featured/Featured.js b/news/routes/Featured/Featured.js index 20da0a11ab..f5eb275bbe 100644 --- a/news/routes/Featured/Featured.js +++ b/news/routes/Featured/Featured.js @@ -138,7 +138,11 @@ class Featured extends Component { featuredList } = this.state; if (pending || !complete) { - return ; + return ( +
+ +
+ ); } if (complete && errored) { diff --git a/news/routes/Show/Show.js b/news/routes/Show/Show.js index 12421f288e..3d0aec2fa5 100644 --- a/news/routes/Show/Show.js +++ b/news/routes/Show/Show.js @@ -162,7 +162,11 @@ class ShowArticle extends Component { currentArticle } = this.state; if (pending || !complete) { - return ; + return ( +
+ +
+ ); } if (complete && errored) {