Update FunkHub.elm a bit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module FunkHub (..) where
|
||||
|
||||
import Html exposing (div, button, text)
|
||||
import Html exposing (..)
|
||||
import Html.Events exposing (onClick)
|
||||
import StartApp.Simple as StartApp
|
||||
|
||||
@@ -16,9 +16,7 @@ model =
|
||||
view address model =
|
||||
div
|
||||
[]
|
||||
[ button [ onClick address Decrement ] [ text "-" ]
|
||||
, div [] [ text (toString model) ]
|
||||
, button [ onClick address Increment ] [ text "+" ]
|
||||
[ h1 [] [ text "FunkHub" ]
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user