mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-28 22:37:08 +03:00
Remove commented code.
This commit is contained in:
parent
2f6a95f5d2
commit
06fcc706ff
@ -2154,12 +2154,10 @@ submitHandlers :
|
||||
-> (Model -> Result () decoded -> DataSource (Response data error))
|
||||
-> Parser (DataSource (Response data error))
|
||||
submitHandlers myForm toDataSource =
|
||||
Request.oneOf
|
||||
[ --apiHandler myForm
|
||||
renderRequestParser myForm
|
||||
|> Request.map
|
||||
(\userOrErrors ->
|
||||
userOrErrors
|
||||
(\parsedResult ->
|
||||
parsedResult
|
||||
|> DataSource.andThen
|
||||
(\result ->
|
||||
case result of
|
||||
@ -2173,7 +2171,6 @@ submitHandlers myForm toDataSource =
|
||||
)
|
||||
-- TODO allow customizing headers or status code, or not?
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
hasErrors_ : List ( String, RawFieldState error ) -> Bool
|
||||
|
Loading…
Reference in New Issue
Block a user