From 64827c0b14783dfd99956299105d23309c74252f Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Tue, 16 Aug 2022 10:24:22 -0700 Subject: [PATCH] Add missing import. --- examples/todos/app/Route/Visibility__.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/todos/app/Route/Visibility__.elm b/examples/todos/app/Route/Visibility__.elm index 026229cf..01fbdcdc 100644 --- a/examples/todos/app/Route/Visibility__.elm +++ b/examples/todos/app/Route/Visibility__.elm @@ -21,6 +21,7 @@ import Html.Lazy exposing (lazy, lazy2, lazy3) import MySession import Pages.Msg import Pages.PageUrl exposing (PageUrl) +import Pages.Transition import Pages.Url import Path exposing (Path) import Request.Hasura @@ -551,7 +552,7 @@ view maybeUrl sharedModel model app = optimisticVisibility : Visibility optimisticVisibility = case app.transition of - Just (Loading path _) -> + Just (Pages.Transition.Loading path _) -> case path |> Path.toSegments of [ "active" ] -> Active