mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Remove hardcoded name.
This commit is contained in:
parent
9e9cf969e9
commit
b93c98ba23
@ -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
|
||||
|
@ -143,7 +143,7 @@ suite =
|
||||
[]
|
||||
|> testCaseGenerator
|
||||
( Elm.CodeGen.listPattern []
|
||||
, Elm.CodeGen.val "TODO"
|
||||
, Elm.CodeGen.val "Index"
|
||||
)
|
||||
, test "dynamic segment" <|
|
||||
\() ->
|
||||
|
Loading…
Reference in New Issue
Block a user