Remove commented code.

This commit is contained in:
Dillon Kearns 2022-05-11 10:46:51 -07:00
parent 2f6a95f5d2
commit 06fcc706ff

View File

@ -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