mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-15 20:15:12 -05:00
feat: fixed horrible lsp problem
This commit is contained in:
parent
38b0583e7f
commit
c4db6a0617
7 changed files with 122 additions and 103 deletions
|
@ -1,30 +0,0 @@
|
|||
module Auth exposing (User, onPageLoad, viewLoadingPage)
|
||||
|
||||
import Auth.Action
|
||||
import Dict
|
||||
import Route exposing (Route)
|
||||
import Route.Path
|
||||
import Shared
|
||||
import View exposing (View)
|
||||
|
||||
|
||||
type alias User =
|
||||
{}
|
||||
|
||||
|
||||
{-| Called before an auth-only page is loaded.
|
||||
-}
|
||||
onPageLoad : Shared.Model -> Route () -> Auth.Action.Action User
|
||||
onPageLoad shared route =
|
||||
Auth.Action.pushRoute
|
||||
{ path = Route.Path.NotFound_
|
||||
, query = Dict.empty
|
||||
, hash = Nothing
|
||||
}
|
||||
|
||||
|
||||
{-| Renders whenever `Auth.Action.showLoadingPage` is returned from `onPageLoad`.
|
||||
-}
|
||||
viewLoadingPage : Shared.Model -> Route () -> View Never
|
||||
viewLoadingPage shared route =
|
||||
View.fromString "Loading..."
|
Loading…
Add table
Add a link
Reference in a new issue