Fixed component dependency on Model a

This commit is contained in:
Søren Debois 2016-04-12 17:00:08 +02:00
parent aa08fcb272
commit 217bc520d4

View file

@ -14,7 +14,7 @@ import Material.Button as Button
type alias Model = type alias Model =
{ count : Int { count : Int
, mdl : Material.Model Action , mdl : Material.Model
-- Boilerplate: mdl is the Model store for any and all MDL components you need. -- Boilerplate: mdl is the Model store for any and all MDL components you need.
} }
@ -64,7 +64,8 @@ update action model =
-- VIEW -- VIEW
type alias Mdl = Material.Model Action type alias Mdl =
Material.Model
{- We construct the instances of the Button component that we need, one {- We construct the instances of the Button component that we need, one