Skip to content

Commit

Permalink
fix(career paths template): Add error prevention
Browse files Browse the repository at this point in the history
Relates #81 #4
  • Loading branch information
Ivo-Evans committed Aug 31, 2020
1 parent 4e58385 commit 92693cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/CareerPath.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const CareerPath: React.FC<PageProps> = ({ data }) => {
<h2 className="mb-4">Career Path Courses:</h2>
<CoursesWrapper courseData={courses} />
</div>
<Charts soc={lmiCode} name={name} />
{lmiCode && <Charts soc={lmiCode} name={name} />}
</main>
);
};
Expand Down

0 comments on commit 92693cb

Please sign in to comment.