Skip to content

Commit 09680c7

Browse files
committed
Use linter to refactor
1 parent 4c3c9ec commit 09680c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Main.elm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import Browser
44
import Browser.Dom as Dom
55
import Browser.Events exposing (onKeyDown)
66
import Browser.Navigation as Nav
7-
import Html exposing (Html, a, div, h1, img, input, p, pre, span, text, textarea)
8-
import Html.Attributes exposing (autofocus, class, classList, cols, href, id, placeholder, rows, src, style, tabindex, value)
9-
import Html.Events exposing (on, onClick, onInput)
7+
import Html exposing (Html, a, div, p, span, text, textarea)
8+
import Html.Attributes exposing (autofocus, class, classList, href, value)
9+
import Html.Events exposing (onClick, onInput)
1010
import Http
1111
import Json.Decode as JD
1212
import Json.Encode as JE
@@ -685,7 +685,7 @@ theme activeTheme =
685685
, renderOptions activeTheme
686686
]
687687

688-
688+
renderOptions : ThemeOption -> Html Msg
689689
renderOptions activeTheme =
690690
div [ class "m-2" ]
691691
[ div [ class "p-2 flex flex-row justify-start" ]
@@ -711,7 +711,7 @@ subscriptions model =
711711
in
712712
onKeyDown (JD.map (HandleKeyboardEvent mode) decodeKeyboardEvent)
713713

714-
714+
getMode : String -> KeyAction
715715
getMode v =
716716
case v of
717717
"/theme" ->

0 commit comments

Comments
 (0)