Closed tomcumming closed 5 years ago
showGreeting :: Widget HTML unit showGreeting greeting = div' [ text (greeting <> " Sailor!") , void $ button [onClick] [text "restart"] ]
Should the type be String -> Widget HTML unit
String -> Widget HTML unit
Fixed. Thanks!
Should the type be
String -> Widget HTML unit