Remove some debug todos.

This commit is contained in:
Dillon Kearns 2020-05-23 18:59:07 -07:00
parent 48fd7a5fb5
commit a26a84e4b6
2 changed files with 19 additions and 9 deletions

View File

@ -35,12 +35,18 @@ type Msg
init maybePagePath =
Debug.todo ""
{ showMobileMenu = False
}
toView : Element msg -> Html msg
toView =
Debug.todo ""
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
OnPageChange page ->
( { model | showMobileMenu = False }, Cmd.none )
ToggleMobileMenu ->
( { model | showMobileMenu = not model.showMobileMenu }, Cmd.none )
type alias StaticData =

View File

@ -122,12 +122,16 @@ init maybePagePath =
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
-- TODO
( model, Cmd.none )
case msg of
MsgBlogPost msg_ ->
( model, Cmd.none )
--main : Pages.Platform.Program Model Msg Metadata View
MsgGlobal msg_ ->
let
( globalModel, globalCmd ) =
Global.update msg_ model.global
in
( { model | global = globalModel }, globalCmd |> Cmd.map MsgGlobal )
mainTemplate { documents, manifest, canonicalSiteUrl } =