Skip to content

Commit

Permalink
Drop unused Msg
Browse files Browse the repository at this point in the history
This is #73 by @mksmtn
except with merge conflict resolved.
  • Loading branch information
rtfeldman committed Nov 6, 2019
1 parent 76f433a commit 30d19ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ view model =


type Msg
= ChangedRoute (Maybe Route)
| ChangedUrl Url
= ChangedUrl Url
| ClickedLink Browser.UrlRequest
| GotHomeMsg Home.Msg
| GotSettingsMsg Settings.Msg
Expand Down Expand Up @@ -236,9 +235,6 @@ update msg model =
( ChangedUrl url, _ ) ->
changeRouteTo (Route.fromUrl url) model

( ChangedRoute route, _ ) ->
changeRouteTo route model

( GotSettingsMsg subMsg, Settings settings ) ->
Settings.update subMsg settings
|> updateWith Settings GotSettingsMsg model
Expand Down

0 comments on commit 30d19ec

Please sign in to comment.