From 0b2c5c1a52716bc06dfb4b2ad4e861f7ca2b6b7e Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 24 Mar 2017 23:49:52 +0100 Subject: Indentation --- src/main/scala/reading/Main.scala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/scala/reading/Main.scala b/src/main/scala/reading/Main.scala index f832c66..66e9ce1 100644 --- a/src/main/scala/reading/Main.scala +++ b/src/main/scala/reading/Main.scala @@ -9,13 +9,13 @@ import reading.utils.RxUtils._ object Main extends JSApp { def main(): Unit = { - dom.document.body.appendChild( + dom.document.body.appendChild { Rx { - Route.current() match { - case Route.Books(filters, detail) => component.Index(filters, detail) - } - }.render - ) + Route.current() match { + case Route.Books(filters, detail) => component.Index(filters, detail) + } + }.render + } () } } -- cgit v1.2.3