Add Pages.Msg.NoOp.

This commit is contained in:
Dillon Kearns 2023-02-27 13:07:03 -08:00
parent 0e7e3f3507
commit 8d7a6d873e
2 changed files with 7 additions and 0 deletions

View File

@ -559,6 +559,9 @@ update config appMsg model =
, NoEffect
)
Pages.Msg.NoOp ->
( model, NoEffect )
UpdateCacheAndUrlNew scrollToTopWhenDone urlWithoutRedirectResolution maybeUserMsg updateResult ->
-- TODO remove all fetchers that are in the state `FetcherReloading` here -- I think that's the right logic?
case

View File

@ -25,6 +25,7 @@ type Msg userMsg
| SubmitIfValid String FormData Bool
| SubmitFetcher String FormData Bool (Maybe userMsg)
| FormFieldEvent Json.Decode.Value
| NoOp
{-| -}
@ -77,3 +78,6 @@ map mapFn msg =
FormFieldEvent value ->
FormFieldEvent value
NoOp ->
NoOp