From ba517563f75bc923316b43e9ad7990d1af97d492 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Tue, 13 Sep 2022 10:54:19 -0700 Subject: [PATCH] Remove hardcoded value. --- src/Pages/Internal/RoutePattern.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pages/Internal/RoutePattern.elm b/src/Pages/Internal/RoutePattern.elm index 0f1aac82..9de459b7 100644 --- a/src/Pages/Internal/RoutePattern.elm +++ b/src/Pages/Internal/RoutePattern.elm @@ -239,7 +239,7 @@ routeToBranch route = , toRecordVariant ((something ++ [ ( optionalName ++ "__" - , ( "section" + , ( decapitalize optionalName , Elm.CodeGen.val "Nothing" ) |> Just @@ -252,7 +252,7 @@ routeToBranch route = ) (something ++ [ ( optionalName ++ "__" - , ( "section" + , ( decapitalize optionalName , Elm.CodeGen.val "Nothing" ) |> Just