This commit is contained in:
orion 2023-10-06 18:39:25 -05:00
parent 3cfc1c4705
commit 430bab5282
Signed by: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -51,7 +51,9 @@ export const App = () => {
return ( return (
<div key={item.id}> <div key={item.id}>
<p>{item.title}</p> <p>{item.title}</p>
<span class="small">{item.description}</span> <span class="small">
{item.description}
</span>
</div> </div>
) )
}) })
@ -85,7 +87,10 @@ action Init = do
app = mkComponent app = mkComponent
{ initialState: StateEmpty { initialState: StateEmpty
, render: renderApp , render: renderApp
, eval: mkEval (defaultEval {handleAction = action, initialize: Just Init}) , eval: mkEval ( defaultEval { handleAction = action
, initialize: Just Init
}
)
} }
``` ```