Skip to content

Commit

Permalink
Update example code in README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
niho committed Feb 27, 2019
1 parent d29cafb commit a99745e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ See the [example project](https://github.com/niho/json-schema-form/tree/master/e
module Main exposing (main)

import Browser
import Dict
import Html exposing (..)
import Html.Events exposing (onSubmit)
import Json.Schema
Expand Down Expand Up @@ -59,7 +60,7 @@ init =
Ok schema_ ->
Json.Schema.Form.init
{ errors = \path error -> "Invalid field: " ++ path
, formats = []
, formats = Dict.empty
}
schema_

Expand Down

0 comments on commit a99745e

Please sign in to comment.