aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Income
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/LoggedIn/Income')
-rw-r--r--src/client/elm/LoggedIn/Income/Model.elm2
-rw-r--r--src/client/elm/LoggedIn/Income/Msg.elm1
-rw-r--r--src/client/elm/LoggedIn/Income/Update.elm5
3 files changed, 0 insertions, 8 deletions
diff --git a/src/client/elm/LoggedIn/Income/Model.elm b/src/client/elm/LoggedIn/Income/Model.elm
index d6e5e7a..cf1bf57 100644
--- a/src/client/elm/LoggedIn/Income/Model.elm
+++ b/src/client/elm/LoggedIn/Income/Model.elm
@@ -13,7 +13,6 @@ import Validation
type alias Model =
{ addIncome : Form String AddIncome
- , test : Bool
}
type alias AddIncome =
@@ -24,7 +23,6 @@ type alias AddIncome =
init : Model
init =
{ addIncome = initForm
- , test = False
}
initForm : Form String AddIncome
diff --git a/src/client/elm/LoggedIn/Income/Msg.elm b/src/client/elm/LoggedIn/Income/Msg.elm
index b3f3633..0a09dad 100644
--- a/src/client/elm/LoggedIn/Income/Msg.elm
+++ b/src/client/elm/LoggedIn/Income/Msg.elm
@@ -7,4 +7,3 @@ import Form exposing (Form)
type Msg =
NoOp
| AddIncomeMsg Form.Msg
- | ToggleTest
diff --git a/src/client/elm/LoggedIn/Income/Update.elm b/src/client/elm/LoggedIn/Income/Update.elm
index 8fa47fc..ec6a0c1 100644
--- a/src/client/elm/LoggedIn/Income/Update.elm
+++ b/src/client/elm/LoggedIn/Income/Update.elm
@@ -22,8 +22,3 @@ update loggedData msg model =
( { model | addIncome = Form.update formMsg model.addIncome }
, Cmd.none
)
-
- IncomeMsg.ToggleTest ->
- ( { model | test = not model.test }
- , Cmd.none
- )