aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Update/LoggedIn/Monthly.elm
diff options
context:
space:
mode:
authorJoris2016-01-02 19:07:19 +0100
committerJoris2016-01-02 19:07:19 +0100
commitbb316286b0859b5648c61f44c88399f4c1aad9cd (patch)
treeecbe401c1ff657987b6609997a69775969a317f7 /src/client/elm/Update/LoggedIn/Monthly.elm
parent0d0c99fd28b782c7daf02fb5cc48d3eb252e705d (diff)
downloadbudget-bb316286b0859b5648c61f44c88399f4c1aad9cd.tar.gz
budget-bb316286b0859b5648c61f44c88399f4c1aad9cd.tar.bz2
budget-bb316286b0859b5648c61f44c88399f4c1aad9cd.zip
Use start-app for elm
Diffstat (limited to 'src/client/elm/Update/LoggedIn/Monthly.elm')
-rw-r--r--src/client/elm/Update/LoggedIn/Monthly.elm10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/elm/Update/LoggedIn/Monthly.elm b/src/client/elm/Update/LoggedIn/Monthly.elm
index 275b3e8..2505091 100644
--- a/src/client/elm/Update/LoggedIn/Monthly.elm
+++ b/src/client/elm/Update/LoggedIn/Monthly.elm
@@ -1,16 +1,10 @@
module Update.LoggedIn.Monthly
- ( MonthlyAction(..)
- , updateMonthly
+ ( updateMonthly
) where
-import Model.Payment exposing (Payment, PaymentId)
+import Model.Action.MonthlyAction exposing (..)
import Model.View.LoggedIn.Monthly exposing (..)
-type MonthlyAction =
- ToggleDetail
- | AddPayment Payment
- | DeletePayment PaymentId
-
updateMonthly : MonthlyAction -> Monthly -> Monthly
updateMonthly action monthly =
case action of