diff --git a/src/main/scala/scatan/Main.scala b/src/main/scala/scatan/Main.scala index 262db83e..660dac71 100644 --- a/src/main/scala/scatan/Main.scala +++ b/src/main/scala/scatan/Main.scala @@ -39,7 +39,7 @@ enum Pages(val pageFactory: PageFactory[?, ?, ApplicationState]): // App val Application: NavigableApplication[ApplicationState, Pages] = NavigableApplication[ApplicationState, Pages]( - initialState = ApplicationState(0), + initialState = ApplicationState(), pagesFactories = Pages.values.map(p => p -> p.pageFactory).toMap ) diff --git a/src/main/scala/scatan/model/ApplicationModel.scala b/src/main/scala/scatan/model/ApplicationModel.scala index 6d33098b..dfb474db 100644 --- a/src/main/scala/scatan/model/ApplicationModel.scala +++ b/src/main/scala/scatan/model/ApplicationModel.scala @@ -2,4 +2,4 @@ package scatan.model import scatan.mvc.lib.Model -final case class ApplicationState(boo: Int) extends Model.State +final case class ApplicationState() extends Model.State