Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit bfc0957

Browse files
committed
Use correct perspective landing
1 parent d0007fa commit bfc0957

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/UnisonLocal/App.elm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import Code.FullyQualifiedName as FQN exposing (FQN)
1111
import Code.Hashvatar as Hashvatar
1212
import Code.Namespace as Namespace exposing (NamespaceDetails)
1313
import Code.Perspective as Perspective exposing (Perspective(..))
14-
import Code.PerspectiveLanding as PerspectiveLanding
1514
import Code.Workspace as Workspace
1615
import Code.Workspace.WorkspaceItems as WorkspaceItems
1716
import Env exposing (Env, OperatingSystem(..))
@@ -33,6 +32,7 @@ import UI.Modal as Modal
3332
import UI.PageLayout as PageLayout
3433
import UI.Sidebar as Sidebar
3534
import UI.Tooltip as Tooltip
35+
import UnisonLocal.PerspectiveLanding as PerspectiveLanding
3636
import UnisonLocal.Route as Route exposing (Route)
3737
import Url exposing (Url)
3838

@@ -269,7 +269,7 @@ update msg ({ env } as model) =
269269
FinderModal fModel ->
270270
let
271271
( fm, fc, out ) =
272-
Finder.update env fMsg fModel
272+
Finder.update env (Api.performCodebaseApiRequest env.apiBasePath) fMsg fModel
273273
in
274274
case out of
275275
Finder.Remain ->
@@ -771,7 +771,7 @@ view model =
771771
Route.Perspective _ ->
772772
Html.map PerspectiveLandingMsg
773773
(PerspectiveLanding.view
774-
model.env
774+
model.env.perspective
775775
model.perspectiveLanding
776776
)
777777

src/UnisonShare/App.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import Code.FullyQualifiedName as FQN exposing (FQN)
99
import Code.Hashvatar as Hashvatar
1010
import Code.Namespace as Namespace exposing (NamespaceDetails)
1111
import Code.Perspective as Perspective exposing (Perspective(..))
12-
import Code.PerspectiveLanding as PerspectiveLanding
1312
import Code.Workspace as Workspace
1413
import Code.Workspace.WorkspaceItems as WorkspaceItems
1514
import Env exposing (Env)
@@ -34,6 +33,7 @@ import UI.Tooltip as Tooltip
3433
import UnisonShare.AppModal as AppModal
3534
import UnisonShare.Page.CatalogPage as CatalogPage
3635
import UnisonShare.Page.UserPage as UserPage
36+
import UnisonShare.PerspectiveLanding as PerspectiveLanding
3737
import UnisonShare.Route as Route exposing (Route)
3838
import Url exposing (Url)
3939

@@ -711,7 +711,7 @@ view model =
711711
page_ =
712712
Html.map PerspectiveLandingMsg
713713
(PerspectiveLanding.view
714-
model.env
714+
model.env.perspective
715715
model.perspectiveLanding
716716
)
717717
|> withSidebar

0 commit comments

Comments
 (0)