From 67d55d815692b90e62fa254224b67a6267f870be Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Tue, 16 Aug 2022 16:30:19 -0700 Subject: [PATCH] Inline subscriptions. --- examples/todos/app/Route/Visibility__.elm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/todos/app/Route/Visibility__.elm b/examples/todos/app/Route/Visibility__.elm index 8a5ad7d4..cdcb539f 100644 --- a/examples/todos/app/Route/Visibility__.elm +++ b/examples/todos/app/Route/Visibility__.elm @@ -46,7 +46,7 @@ route = |> RouteBuilder.buildWithLocalState { view = view , update = update - , subscriptions = subscriptions + , subscriptions = \_ _ _ _ _ -> Sub.none , init = init } @@ -242,11 +242,6 @@ withUserSession cookieSession continue = |> Maybe.withDefault (DataSource.succeed ( okSession, Response.render {} )) -subscriptions : Maybe PageUrl -> RouteParams -> Path -> Shared.Model -> Model -> Sub Msg -subscriptions maybePageUrl routeParams path sharedModel model = - Sub.none - - head : StaticPayload Data ActionData RouteParams -> List Head.Tag