Skip to content

Commit 4607ef6

Browse files
Remove debug logs from useCohortHandler to clean up code
1 parent 74fcf3f commit 4607ef6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hooks/useCohortHandler.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -789,10 +789,6 @@ function useCohortHandler() {
789789
const cohortSubscriptions = allSubscriptions?.filter((sub) => sub.selected_cohort_set?.cohorts.some((cohort) => cohort.id === cohortSession.id));
790790
const currentCohortSlug = cohortSubscriptions[0]?.selected_cohort_set?.slug;
791791

792-
console.log('allSubscriptions', allSubscriptions);
793-
console.log('cohortSession', cohortSession);
794-
console.log('cohortSubscriptions', cohortSubscriptions);
795-
796792
if (cohortSubscriptions.length === 0) {
797793
showToastAndRedirect(currentCohortSlug);
798794
return;

0 commit comments

Comments
 (0)