fix: guard against courseGoals being undefined (#489)
No idea why this would happen honestly - it looks always defined from the backend, and api.js doesn't transorm it. But we are seeing JS errors related to it. So trying this as a first pass. AA-848
This commit is contained in:
@@ -52,7 +52,7 @@ function OutlineTab({ intl }) {
|
|||||||
courseGoals: {
|
courseGoals: {
|
||||||
goalOptions,
|
goalOptions,
|
||||||
selectedGoal,
|
selectedGoal,
|
||||||
},
|
} = {},
|
||||||
datesBannerInfo,
|
datesBannerInfo,
|
||||||
datesWidget: {
|
datesWidget: {
|
||||||
courseDateBlocks,
|
courseDateBlocks,
|
||||||
|
|||||||
Reference in New Issue
Block a user