1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-10 13:15:56 +00:00

ui: Linter dead code elimination

This commit is contained in:
James Hillyerd
2020-03-29 11:54:12 -07:00
parent c312909112
commit c520af4983
3 changed files with 2 additions and 30 deletions

View File

@@ -160,7 +160,6 @@ type Msg
= ListLoaded (Result HttpUtil.Error (List MessageHeader))
| ClickMessage MessageID
| ListKeyPress String Int
| OpenMessage MessageID
| CloseMessage
| MessageLoaded (Result HttpUtil.Error Message)
| MessageBody Body
@@ -189,9 +188,6 @@ update msg model =
]
)
OpenMessage id ->
updateOpenMessage model id
CloseMessage ->
case model.state of
ShowingList list _ ->
@@ -372,7 +368,7 @@ updatePurge model =
]
in
case model.state of
ShowingList list _ ->
ShowingList _ _ ->
( { model
| promptPurge = False
, session = Session.disableRouting model.session