Remove duplicate definition.

This commit is contained in:
Dillon Kearns 2022-09-14 10:28:16 -07:00
parent 4c14042d6c
commit 2dcc1d0818

View File

@ -265,20 +265,7 @@ file templates basePath =
)
)
|> expose
, Elm.declaration "toLink"
(Elm.fn2
( "toAnchorTag", Nothing )
( "route", Just (Elm.Annotation.named [] "Route") )
(\toAnchorTag route ->
Elm.apply
toAnchorTag
[ Elm.list
[ route |> toString.call |> Gen.Html.Attributes.call_.href
, Gen.Html.Attributes.attribute "elm-pages:prefetch" ""
]
]
)
)
, toLink.declaration
|> expose
, Elm.declaration "link"
(Elm.fn3