diff options
author | Joris | 2017-03-24 23:49:52 +0100 |
---|---|---|
committer | Joris | 2017-03-24 23:49:52 +0100 |
commit | 0b2c5c1a52716bc06dfb4b2ad4e861f7ca2b6b7e (patch) | |
tree | e94dd9f9c4454a87b19fe8fdbcb10af9e7b5d470 /src/main/scala | |
parent | a35562e6dc791a74647a931c997d3b70e3e35218 (diff) |
Indentation
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/reading/Main.scala | 12 |
1 files 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 + } () } } |