aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2017-03-24 23:49:52 +0100
committerJoris2017-03-24 23:49:52 +0100
commit0b2c5c1a52716bc06dfb4b2ad4e861f7ca2b6b7e (patch)
treee94dd9f9c4454a87b19fe8fdbcb10af9e7b5d470
parenta35562e6dc791a74647a931c997d3b70e3e35218 (diff)
Indentation
-rw-r--r--src/main/scala/reading/Main.scala12
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
+ }
()
}
}