1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 10:37:01 +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

@@ -100,7 +100,7 @@ initDataSet =
subscriptions : Model -> Sub Msg
subscriptions model =
subscriptions _ =
Time.every (10 * 1000) Tick
@@ -419,23 +419,6 @@ viewMetric metric =
]
viewLiveMetric : String -> (Int -> String) -> Int -> Html a -> Html a
viewLiveMetric label formatter value graph =
div [ class "metric" ]
[ div [ class "label" ] [ text label ]
, div [ class "value" ] [ text (formatter value) ]
, div [ class "graph" ]
[ graph
, text "(10min)"
]
]
graphNull : Html a
graphNull =
div [] []
graphSize : Spark.Size
graphSize =
{ width = 180