mirror of
https://github.com/correl/elm-mdl.git
synced 2024-11-23 11:09:51 +00:00
Fixed component dependency on Model a
This commit is contained in:
parent
aa08fcb272
commit
217bc520d4
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@ import Material.Button as Button
|
|||
|
||||
type alias Model =
|
||||
{ count : Int
|
||||
, mdl : Material.Model Action
|
||||
, mdl : Material.Model
|
||||
-- Boilerplate: mdl is the Model store for any and all MDL components you need.
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,8 @@ update action model =
|
|||
-- VIEW
|
||||
|
||||
|
||||
type alias Mdl = Material.Model Action
|
||||
type alias Mdl =
|
||||
Material.Model
|
||||
|
||||
|
||||
{- We construct the instances of the Button component that we need, one
|
||||
|
|
Loading…
Reference in a new issue