a tool for shared writing and social publishing

fix type error

+4 -3
+4 -3
app/lish/[did]/[publication]/[rkey]/PostContent.tsx
··· 240 240 ); 241 241 } 242 242 case PubLeafletBlocksOrderedList.isMain(b.block): { 243 + let block = b.block; 243 244 return ( 244 - <ol className="-ml-px sm:ml-[9px] pb-2" start={b.block.startIndex || 1}> 245 - {b.block.children.map((child, i) => ( 245 + <ol className="-ml-px sm:ml-[9px] pb-2" start={block.startIndex || 1}> 246 + {block.children.map((child, i) => ( 246 247 <OrderedListItem 247 248 pollData={pollData} 248 249 pages={pages} ··· 253 254 key={i} 254 255 className={className} 255 256 pageId={pageId} 256 - startIndex={b.block.startIndex || 1} 257 + startIndex={block.startIndex || 1} 257 258 /> 258 259 ))} 259 260 </ol>