mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 21:02:33 +03:00
Add Pages.Msg.NoOp.
This commit is contained in:
parent
0e7e3f3507
commit
8d7a6d873e
@ -559,6 +559,9 @@ update config appMsg model =
|
|||||||
, NoEffect
|
, NoEffect
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Pages.Msg.NoOp ->
|
||||||
|
( model, NoEffect )
|
||||||
|
|
||||||
UpdateCacheAndUrlNew scrollToTopWhenDone urlWithoutRedirectResolution maybeUserMsg updateResult ->
|
UpdateCacheAndUrlNew scrollToTopWhenDone urlWithoutRedirectResolution maybeUserMsg updateResult ->
|
||||||
-- TODO remove all fetchers that are in the state `FetcherReloading` here -- I think that's the right logic?
|
-- TODO remove all fetchers that are in the state `FetcherReloading` here -- I think that's the right logic?
|
||||||
case
|
case
|
||||||
|
@ -25,6 +25,7 @@ type Msg userMsg
|
|||||||
| SubmitIfValid String FormData Bool
|
| SubmitIfValid String FormData Bool
|
||||||
| SubmitFetcher String FormData Bool (Maybe userMsg)
|
| SubmitFetcher String FormData Bool (Maybe userMsg)
|
||||||
| FormFieldEvent Json.Decode.Value
|
| FormFieldEvent Json.Decode.Value
|
||||||
|
| NoOp
|
||||||
|
|
||||||
|
|
||||||
{-| -}
|
{-| -}
|
||||||
@ -77,3 +78,6 @@ map mapFn msg =
|
|||||||
|
|
||||||
FormFieldEvent value ->
|
FormFieldEvent value ->
|
||||||
FormFieldEvent value
|
FormFieldEvent value
|
||||||
|
|
||||||
|
NoOp ->
|
||||||
|
NoOp
|
||||||
|
Loading…
Reference in New Issue
Block a user