File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ NEXTAUTH_SECRET=""
21
21
NEXTAUTH_URL = " http://localhost:3000"
22
22
23
23
POSTGRES_URL =
24
- POSTGRES_PRISMA_URL = postgresql://admin:password123@localhost:6500/nextauth_prisma?schema=public
25
- POSTGRES_URL_NON_POOLING = postgresql://admin:password123@localhost:6500/nextauth_prisma?schema=public
24
+ POSTGRES_PRISMA_URL = " "
25
+ POSTGRES_URL_NON_POOLING = " "
26
26
27
27
NEXT_PUBLIC_WALLET_CONNECT_ID =
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ const QuizStatusChecker = ({ quiz }: QuizStatusCheckerTye) => {
33
33
34
34
useMemo ( ( ) => {
35
35
if ( allLessons ?. length && completedQuizzesAllData ?. length && fetchNow ) {
36
- const completedIds = completedQuizzesAllData . map ( ( quiz ) => quiz . id ) ;
36
+ const completedIds = completedQuizzesAllData . map ( ( quiz ) => quiz . lesson ) ;
37
37
38
38
const actualLessonId = allLessons ?. find (
39
- ( lesson ) => lesson . quizFileName === quiz ,
39
+ ( lesson ) => lesson . quizFileName === ` ${ quiz } .json` ,
40
40
) ?. id ;
41
41
42
42
if ( actualLessonId === undefined ) return ;
You can’t perform that action at this time.
0 commit comments