From 957c66fdbc20279e7204b793b1bea5fd77747c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8jberg?= Date: Tue, 5 Apr 2022 09:03:59 -0400 Subject: [PATCH] Fix errorToString reference in UnisonShare --- src/UnisonShare/App.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UnisonShare/App.elm b/src/UnisonShare/App.elm index 38495dc..6f5258a 100644 --- a/src/UnisonShare/App.elm +++ b/src/UnisonShare/App.elm @@ -17,6 +17,7 @@ import Html exposing (Html, a, div, h1, h2, nav, p, span, text) import Html.Attributes exposing (class, classList, id, title) import Html.Events exposing (onClick) import Http +import Lib.Util as Util import RemoteData exposing (RemoteData(..)) import UI import UI.AppHeader as AppHeader @@ -678,7 +679,7 @@ viewAppError error = PageLayout.PageContent [ div [ class "app-error" ] [ Icon.view Icon.warn - , p [ title (Api.errorToString error) ] + , p [ title (Util.httpErrorToString error) ] [ text "Unison Share could not be started." ] ] ]