doc
This commit is contained in:
parent
3cfc1c4705
commit
430bab5282
@ -51,7 +51,9 @@ export const App = () => {
|
||||
return (
|
||||
<div key={item.id}>
|
||||
<p>{item.title}</p>
|
||||
<span class="small">{item.description}</span>
|
||||
<span class="small">
|
||||
{item.description}
|
||||
</span>
|
||||
</div>
|
||||
)
|
||||
})
|
||||
@ -85,7 +87,10 @@ action Init = do
|
||||
app = mkComponent
|
||||
{ initialState: StateEmpty
|
||||
, render: renderApp
|
||||
, eval: mkEval (defaultEval {handleAction = action, initialize: Just Init})
|
||||
, eval: mkEval ( defaultEval { handleAction = action
|
||||
, initialize: Just Init
|
||||
}
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user