darklang / rescript-tea

The Elm Architecture for Rescript
Other
119 stars 9 forks source link

fix spellcheck #18

Closed OceanOak closed 2 years ago

OceanOak commented 2 years ago

Changed spellcheck from

  let spellcheck = b =>
    if b {
      prop("spellcheck", "spellcheck")
    } else {
      noProp
    }

to

let spellcheck = (b: bool) => Vdom.attribute("", "spellcheck", string_of_bool(b))

pbiggar commented 2 years ago

Great, thanks!