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

Commit

Permalink
Use correct perspective landing
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Apr 6, 2022
1 parent d0007fa commit bfc0957
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/UnisonLocal/App.elm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import Code.FullyQualifiedName as FQN exposing (FQN)
import Code.Hashvatar as Hashvatar
import Code.Namespace as Namespace exposing (NamespaceDetails)
import Code.Perspective as Perspective exposing (Perspective(..))
import Code.PerspectiveLanding as PerspectiveLanding
import Code.Workspace as Workspace
import Code.Workspace.WorkspaceItems as WorkspaceItems
import Env exposing (Env, OperatingSystem(..))
Expand All @@ -33,6 +32,7 @@ import UI.Modal as Modal
import UI.PageLayout as PageLayout
import UI.Sidebar as Sidebar
import UI.Tooltip as Tooltip
import UnisonLocal.PerspectiveLanding as PerspectiveLanding
import UnisonLocal.Route as Route exposing (Route)
import Url exposing (Url)

Expand Down Expand Up @@ -269,7 +269,7 @@ update msg ({ env } as model) =
FinderModal fModel ->
let
( fm, fc, out ) =
Finder.update env fMsg fModel
Finder.update env (Api.performCodebaseApiRequest env.apiBasePath) fMsg fModel
in
case out of
Finder.Remain ->
Expand Down Expand Up @@ -771,7 +771,7 @@ view model =
Route.Perspective _ ->
Html.map PerspectiveLandingMsg
(PerspectiveLanding.view
model.env
model.env.perspective
model.perspectiveLanding
)

Expand Down
4 changes: 2 additions & 2 deletions src/UnisonShare/App.elm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Code.FullyQualifiedName as FQN exposing (FQN)
import Code.Hashvatar as Hashvatar
import Code.Namespace as Namespace exposing (NamespaceDetails)
import Code.Perspective as Perspective exposing (Perspective(..))
import Code.PerspectiveLanding as PerspectiveLanding
import Code.Workspace as Workspace
import Code.Workspace.WorkspaceItems as WorkspaceItems
import Env exposing (Env)
Expand All @@ -34,6 +33,7 @@ import UI.Tooltip as Tooltip
import UnisonShare.AppModal as AppModal
import UnisonShare.Page.CatalogPage as CatalogPage
import UnisonShare.Page.UserPage as UserPage
import UnisonShare.PerspectiveLanding as PerspectiveLanding
import UnisonShare.Route as Route exposing (Route)
import Url exposing (Url)

Expand Down Expand Up @@ -711,7 +711,7 @@ view model =
page_ =
Html.map PerspectiveLandingMsg
(PerspectiveLanding.view
model.env
model.env.perspective
model.perspectiveLanding
)
|> withSidebar
Expand Down

0 comments on commit bfc0957

Please sign in to comment.