From 7a0d1bcbb6ddcb0549946534dc1b4cf55a1780f1 Mon Sep 17 00:00:00 2001 From: Henrik Nygren Date: Wed, 12 May 2021 16:35:24 +0300 Subject: [PATCH] moocfi-quizzes 0.9.23 --- packages/moocfi-quizzes/package.json | 4 ++-- packages/moocfi-quizzes/src/CourseStatusProvider/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/moocfi-quizzes/package.json b/packages/moocfi-quizzes/package.json index ebc2e4a8..ab734a80 100644 --- a/packages/moocfi-quizzes/package.json +++ b/packages/moocfi-quizzes/package.json @@ -1,6 +1,6 @@ { "name": "moocfi-quizzes", - "version": "0.9.22", + "version": "0.9.23", "description": "", "main": "dist/index.js", "scripts": { @@ -78,4 +78,4 @@ "watch": "^1.0.2", "prop-types": "^15.7.2" } -} \ No newline at end of file +} diff --git a/packages/moocfi-quizzes/src/CourseStatusProvider/index.tsx b/packages/moocfi-quizzes/src/CourseStatusProvider/index.tsx index 89a07403..3e72d28e 100644 --- a/packages/moocfi-quizzes/src/CourseStatusProvider/index.tsx +++ b/packages/moocfi-quizzes/src/CourseStatusProvider/index.tsx @@ -54,7 +54,7 @@ export const CourseStatusProvider: React.FunctionComponent { - if (accessToken && courseId) { + if (accessToken && accessToken !== "" && courseId) { if (shouldFetch) { prevProps.current = props fetchProgressData()