a tool for shared writing and social publishing

handle no type in metadata?

+1 -1
+1 -1
app/[leaflet_id]/page.tsx
··· 117 117 let type = scan.eav(b.data.value, "block/type"); 118 118 return { 119 119 ...b.data, 120 - type: type[0].data.value, 120 + type: type[0]?.data.value, 121 121 }; 122 122 }) 123 123