From 7dfd93d4f1b90684595866341ed46adce2886ca3 Mon Sep 17 00:00:00 2001 From: Jillian Date: Thu, 29 May 2025 14:15:01 -0400 Subject: [PATCH] fix: upstreamInfo is not always provided (#2041) (#2042) (cherry picked from commit 3fc0f27d6797f2005371251c756bfaa6b39f6cf4) --- src/course-unit/CourseUnit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/course-unit/CourseUnit.jsx b/src/course-unit/CourseUnit.jsx index f63dad09e..82994212f 100644 --- a/src/course-unit/CourseUnit.jsx +++ b/src/course-unit/CourseUnit.jsx @@ -140,7 +140,7 @@ const CourseUnit = ({ courseId }) => { /> ) : null} - {courseUnit.upstreamInfo.upstreamLink && ( + {courseUnit.upstreamInfo?.upstreamLink && (