diff options
Diffstat (limited to 'src/client/elm/LoggedIn/User/Update.elm')
-rw-r--r-- | src/client/elm/LoggedIn/User/Update.elm | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/client/elm/LoggedIn/User/Update.elm b/src/client/elm/LoggedIn/User/Update.elm deleted file mode 100644 index f44fee4..0000000 --- a/src/client/elm/LoggedIn/User/Update.elm +++ /dev/null @@ -1,25 +0,0 @@ -module LoggedIn.User.Update - ( update - ) where - -import Effects exposing (Effects) -import Form exposing (Form) - -import LoggedData exposing (LoggedData) - -import LoggedIn.User.Model as UserModel -import LoggedIn.User.Action as UserAction - -update : LoggedData -> UserAction.Action -> UserModel.Model -> (UserModel.Model, Effects UserAction.Action) -update loggedData action model = - case action of - - UserAction.NoOp -> - ( model - , Effects.none - ) - - UserAction.AddIncomeAction formAction -> - ( { model | addIncome = Form.update formAction model.addIncome } - , Effects.none - ) |