Remove unused.

This commit is contained in:
Dillon Kearns 2022-02-14 11:24:40 -08:00
parent 83dcf70b0e
commit 4ba800d22d

View File

@ -742,13 +742,6 @@ sendSinglePageProgress site contentJson config model info =
(config.globalHeadTags |> Maybe.withDefault (DataSource.succeed []))
model.allRawResponses
|> 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
case Result.map3 (\a b c -> ( a, b, c )) pageFoundResult renderedResult siteDataResult of
Ok ( maybeNotFoundReason, renderedOrApiResponse, siteData ) ->