feat: Auto move to the next question (#324)

* move to the next question

* remove console

* minor changes

* updated the confetti timeout

* updated the button

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Em_Dev
2024-05-23 06:17:35 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 0536463ec9
commit 57e3b63588
7 changed files with 56 additions and 39 deletions
@@ -29,7 +29,6 @@
let hasFetched = false;
async function getCourses(userId: string | undefined, orgId: string) {
console.log({ org: $currentOrg });
if (cantFetch && typeof cantFetch === 'boolean' && orgId && !hasFetched) {
// only show is loading when fetching for the first time
if (!$courses.length) {