From 75ffc91a3949f5520a5d1d1a6dbf12be3c2d4aff Mon Sep 17 00:00:00 2001 From: Christophe Combelles Date: Wed, 2 Oct 2024 12:20:10 +0200 Subject: [PATCH] unused function --- src/Page/Explore/Common.elm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Page/Explore/Common.elm b/src/Page/Explore/Common.elm index 1a3ea90fd..a097ae159 100644 --- a/src/Page/Explore/Common.elm +++ b/src/Page/Explore/Common.elm @@ -1,10 +1,8 @@ module Page.Explore.Common exposing ( boolText , impactBarGraph - , scopesView ) -import Data.Scope as Scope exposing (Scope) import Html exposing (..) import Html.Attributes exposing (..) import Views.Format as Format @@ -19,17 +17,6 @@ boolText bool = "non" -scopesView : { a | scopes : List Scope } -> Html msg -scopesView = - .scopes - >> List.map - (\scope -> - span [ class "badge badge-success" ] - [ text <| Scope.toLabel scope ] - ) - >> div [ class "d-flex gap-1" ] - - impactBarGraph : Bool -> Float -> Float -> Html msg impactBarGraph detailed max score = let