From b3e68119a79c9dbbd7498afa2416a793ab680762 Mon Sep 17 00:00:00 2001 From: rotimi-best Date: Sat, 21 Aug 2021 13:32:28 +0300 Subject: [PATCH] Turn on cantFetch --- src/routes/courses.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/courses.svelte b/src/routes/courses.svelte index 8d2a7535..5af335a2 100644 --- a/src/routes/courses.svelte +++ b/src/routes/courses.svelte @@ -106,7 +106,7 @@ async function getCourses(userId) { console.log(`getCourses process.browser`, process.browser); if (process.browser) { - if (!cantFetch && typeof cantFetch === 'boolean' && !allCourses.length) { + if (cantFetch && typeof cantFetch === 'boolean' && !allCourses.length) { const coursesResult = await fetchCourses(userId); console.log(`coursesResult`, coursesResult);