From 8be9d0274a94b5130f1163abe5ed7f535c33f607 Mon Sep 17 00:00:00 2001 From: mfrachet Date: Sat, 9 Jun 2018 08:06:12 +0200 Subject: [PATCH] refactor(component): revert --- src/placeholder.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/placeholder.js b/src/placeholder.js index 278f3de..49c775b 100644 --- a/src/placeholder.js +++ b/src/placeholder.js @@ -17,9 +17,18 @@ const compose = (f, g) => x => f(g(x)); export default { ImageContent: connect(ImageContent), Paragraph: connect(Paragraph), - Media: compose(connect, stylify(computeStyleMedia))(View), - Line: compose(connect, stylify(computeStyleLine))(View), + Media: compose( + connect, + stylify(computeStyleMedia), + )(View), + Line: compose( + connect, + stylify(computeStyleLine), + )(View), MultiWords: connect(MultiWords), - Box: compose(connect, stylify(computeStyleBox))(View), + Box: compose( + connect, + stylify(computeStyleBox), + )(View), connect, };