Skip to content

Commit

Permalink
fix(applicationState): remove useless parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-borriello00 committed Sep 6, 2023
1 parent d8ff20a commit 2ccf44e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/scatan/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/scatan/model/ApplicationModel.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2ccf44e

Please sign in to comment.