mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 09:21:57 +03:00
Remove unused.
This commit is contained in:
parent
83dcf70b0e
commit
4ba800d22d
@ -742,13 +742,6 @@ sendSinglePageProgress site contentJson config model info =
|
|||||||
(config.globalHeadTags |> Maybe.withDefault (DataSource.succeed []))
|
(config.globalHeadTags |> Maybe.withDefault (DataSource.succeed []))
|
||||||
model.allRawResponses
|
model.allRawResponses
|
||||||
|> Result.mapError (StaticHttpRequest.toBuildError "Site.elm")
|
|> Result.mapError (StaticHttpRequest.toBuildError "Site.elm")
|
||||||
|
|
||||||
apiRouteHeadTags : DataSource (List Head.Tag)
|
|
||||||
apiRouteHeadTags =
|
|
||||||
config.apiRoutes HtmlPrinter.htmlToString
|
|
||||||
|> List.filterMap ApiRoute.getGlobalHeadTagsDataSource
|
|
||||||
|> DataSource.combine
|
|
||||||
|> DataSource.map List.concat
|
|
||||||
in
|
in
|
||||||
case Result.map3 (\a b c -> ( a, b, c )) pageFoundResult renderedResult siteDataResult of
|
case Result.map3 (\a b c -> ( a, b, c )) pageFoundResult renderedResult siteDataResult of
|
||||||
Ok ( maybeNotFoundReason, renderedOrApiResponse, siteData ) ->
|
Ok ( maybeNotFoundReason, renderedOrApiResponse, siteData ) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user