mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 14:56:36 +03:00
Remove unused function.
This commit is contained in:
parent
4590ae5da9
commit
acaabbc678
@ -134,14 +134,6 @@ select optionsMapping invalidError =
|
||||
dict =
|
||||
Dict.fromList optionsMapping
|
||||
|
||||
toString a =
|
||||
case optionsMapping |> List.filter (\( str, b ) -> b == a) |> List.head of
|
||||
Just ( str, b ) ->
|
||||
str
|
||||
|
||||
Nothing ->
|
||||
"Missing enum"
|
||||
|
||||
fromString : String -> Maybe option
|
||||
fromString string =
|
||||
Dict.get string dict
|
||||
|
Loading…
Reference in New Issue
Block a user