@@ -89,13 +89,13 @@ export function Blueprint({
8989 </ div >
9090
9191 { /* Views */ }
92- { phasicBlueprint && phasicBlueprint . views . length > 0 && (
92+ { phasicBlueprint && phasicBlueprint . views ? .length > 0 && (
9393 < div >
9494 < h3 className = "text-sm font-medium mb-3 text-text-50/70 uppercase tracking-wider" >
9595 Views
9696 </ h3 >
9797 < div className = "space-y-3" >
98- { phasicBlueprint . views . map ( ( view , index ) => (
98+ { phasicBlueprint . views ? .map ( ( view , index ) => (
9999 < div key = { `view-${ index } ` } className = "space-y-1" >
100100 < h4 className = "text-xs font-medium text-text-50/70" >
101101 { view . name }
@@ -165,13 +165,13 @@ export function Blueprint({
165165 ) }
166166
167167 { /* Implementation Roadmap */ }
168- { phasicBlueprint && phasicBlueprint . implementationRoadmap . length > 0 && (
168+ { phasicBlueprint && phasicBlueprint . implementationRoadmap ? .length > 0 && (
169169 < div >
170170 < h3 className = "text-sm font-medium mb-2 text-text-50/70 uppercase tracking-wider" >
171171 Implementation Roadmap
172172 </ h3 >
173173 < div className = "space-y-3" >
174- { phasicBlueprint . implementationRoadmap . map ( ( roadmapItem , index ) => (
174+ { phasicBlueprint . implementationRoadmap ? .map ( ( roadmapItem , index ) => (
175175 < div key = { `roadmap-${ index } ` } className = "space-y-1" >
176176 < h4 className = "text-xs font-medium text-text-50/70" >
177177 Phase { index + 1 } : { roadmapItem . phase }
@@ -220,14 +220,14 @@ export function Blueprint({
220220 ) }
221221
222222 { /* Pitfalls */ }
223- { phasicBlueprint && phasicBlueprint . pitfalls . length > 0 && (
223+ { phasicBlueprint && phasicBlueprint . pitfalls ? .length > 0 && (
224224 < div >
225225 < h3 className = "text-sm font-medium mb-2 text-text-50/70 uppercase tracking-wider" >
226226 Pitfalls
227227 </ h3 >
228228 < div className = "prose prose-sm prose-invert" >
229229 < ul className = "" >
230- { phasicBlueprint . pitfalls . map ( ( pitfall , index ) => (
230+ { phasicBlueprint . pitfalls ? .map ( ( pitfall , index ) => (
231231 < li key = { `pitfall-${ index } ` } className = "" >
232232 { pitfall }
233233 </ li >
0 commit comments