;r!=&quot;&quot;?{text:r,type:n}:null,[n],void 0,()=&gt;o(&quot;&quot;),[o]);return t(&quot;input&quot;,{id:&quot;newTodo&quot;,onChange:s,onKeyDown:l,placeholder:&quot;New Todo&quot;,value:e})},D=()=&gt;t(&quot;ul&quot;,{id:&quot;todos&quot;,children:t(k,{indexId:&quot;types&quot;,sliceId:a(&quot;type&quot;,&quot;viewStore&quot;),rowComponent:B})}),B=e=&gt;m(&quot;li&quot;,{className:&quot;todo&quot;,children:[t(H,{...e}),t(E,{...e})]}),H=({tableId:e,rowId:o})=&gt;{const n=i(e,o,&quot;done&quot;),s=&quot;t