Use a let-expression in part2

This commit is contained in:
Richard Feldman
2016-09-07 04:39:12 -05:00
parent 46a2fe1647
commit c07ff4680f

View File

@@ -13,14 +13,14 @@ initialModel =
}
view model =
let
elmHubHeader =
header []
[ h1 [] [ text "ElmHub" ]
, span [ class "tagline" ] [ text "Like GitHub, but for Elm things." ]
]
view model =
in
div [ class "content" ]
[ text "TODO put the contents of elmHubHeader here instead of this text!"
, ul [ class "results" ]