mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 01:13:06 +03:00
Remove hardcoded value.
This commit is contained in:
parent
08015f49b9
commit
ba517563f7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user