Remove hardcoded value.

This commit is contained in:
Dillon Kearns 2022-09-13 10:54:19 -07:00
parent 08015f49b9
commit ba517563f7

View File

@ -239,7 +239,7 @@ routeToBranch route =
, toRecordVariant , toRecordVariant
((something ((something
++ [ ( optionalName ++ "__" ++ [ ( optionalName ++ "__"
, ( "section" , ( decapitalize optionalName
, Elm.CodeGen.val "Nothing" , Elm.CodeGen.val "Nothing"
) )
|> Just |> Just
@ -252,7 +252,7 @@ routeToBranch route =
) )
(something (something
++ [ ( optionalName ++ "__" ++ [ ( optionalName ++ "__"
, ( "section" , ( decapitalize optionalName
, Elm.CodeGen.val "Nothing" , Elm.CodeGen.val "Nothing"
) )
|> Just |> Just