aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/SignIn/View.elm
diff options
context:
space:
mode:
authorJoris2017-03-24 09:21:04 +0000
committerJoris2017-03-24 09:21:04 +0000
commitcfca18262c1ff48dcb683ddab7d03cf8e55573ff (patch)
tree8a438430cee7411259fc395d8f3898488e85d750 /src/client/elm/SignIn/View.elm
parent293eb8295162bf0a038f488237db9c9d1316c04d (diff)
downloadbudget-cfca18262c1ff48dcb683ddab7d03cf8e55573ff.tar.gz
budget-cfca18262c1ff48dcb683ddab7d03cf8e55573ff.tar.bz2
budget-cfca18262c1ff48dcb683ddab7d03cf8e55573ff.zip
Features/categories
Diffstat (limited to 'src/client/elm/SignIn/View.elm')
-rw-r--r--src/client/elm/SignIn/View.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/elm/SignIn/View.elm b/src/client/elm/SignIn/View.elm
index f23ca09..88f74b0 100644
--- a/src/client/elm/SignIn/View.elm
+++ b/src/client/elm/SignIn/View.elm
@@ -2,7 +2,7 @@ module SignIn.View exposing
( view
)
-import Json.Decode as Json
+import Json.Decode as Decode
import FontAwesome
import View.Color as Color
@@ -30,7 +30,7 @@ view model signInModel =
[ onSubmitPrevDefault (SignIn signInModel.login) ]
[ input
[ value signInModel.login
- , on "input" (targetValue |> (Json.map <| (UpdateSignIn << SignInMsg.UpdateLogin)))
+ , on "input" (targetValue |> (Decode.map <| (UpdateSignIn << SignInMsg.UpdateLogin)))
, name "email"
]
[]