Skip to content

Commit

Permalink
Merge pull request #387 from newfold-labs/fix/add-check-before-map
Browse files Browse the repository at this point in the history
Only use property in `map()` if its available
  • Loading branch information
circlecube authored Dec 11, 2024
2 parents 662a69d + 44ba492 commit 32067fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NoExistingPlan.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function NoExistingPlan( props ) {
</div>
<div className="nfd-flex nfd-flex-row nfd--mt-8">
<ul className="nfd-mr-6 nfd-grid nfd-grid-cols-2 nfd-gap-x-6 nfd-mt-6">
{ solution?.features.map(
{ solution?.features?.map(
( feat, index ) => {
return (
<li
Expand Down

0 comments on commit 32067fe

Please sign in to comment.