Skip to content

Commit

Permalink
moocfi-quizzes 0.9.23
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed May 12, 2021
1 parent 058f799 commit 7a0d1bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/moocfi-quizzes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moocfi-quizzes",
"version": "0.9.22",
"version": "0.9.23",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -78,4 +78,4 @@
"watch": "^1.0.2",
"prop-types": "^15.7.2"
}
}
}
2 changes: 1 addition & 1 deletion packages/moocfi-quizzes/src/CourseStatusProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const CourseStatusProvider: React.FunctionComponent<CourseStatusProviderP
languageId !== prevProps.current.languageId

useEffect(() => {
if (accessToken && courseId) {
if (accessToken && accessToken !== "" && courseId) {
if (shouldFetch) {
prevProps.current = props
fetchProgressData()
Expand Down

0 comments on commit 7a0d1bc

Please sign in to comment.