mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-23 14:15:33 +03:00
Remove duplicate definition.
This commit is contained in:
parent
4c14042d6c
commit
2dcc1d0818
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user