mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum/client): runtime error (#63509)
This commit is contained in:
@@ -543,7 +543,7 @@ export class Block extends Component<BlockProps> {
|
||||
isExpanded={isExpanded}
|
||||
percentageCompleted={percentageCompleted}
|
||||
accordion={accordion}
|
||||
blockUrl={challenges[0].fields.slug}
|
||||
blockUrl={challenges?.[0]?.fields?.slug ?? ''}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Build a String Inspector",
|
||||
"isUpcomingChange": true,
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "workshop-string-inspector",
|
||||
"helpCategory": "JavaScript",
|
||||
"blockLayout": "challenge-grid",
|
||||
|
||||
Reference in New Issue
Block a user