Remove hardcoded name.

This commit is contained in:
Dillon Kearns 2022-09-12 17:00:58 -07:00
parent 9e9cf969e9
commit b93c98ba23
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ routeToBranch : RoutePattern -> ( Elm.CodeGen.Pattern, Elm.CodeGen.Expression )
routeToBranch route =
case route.segments of
[] ->
( Elm.CodeGen.listPattern [], Elm.CodeGen.val "TODO" )
( Elm.CodeGen.listPattern [], Elm.CodeGen.val "Index" )
_ ->
( Elm.CodeGen.listPattern

View File

@ -143,7 +143,7 @@ suite =
[]
|> testCaseGenerator
( Elm.CodeGen.listPattern []
, Elm.CodeGen.val "TODO"
, Elm.CodeGen.val "Index"
)
, test "dynamic segment" <|
\() ->