Skip to content

Commit

Permalink
added num of students
Browse files Browse the repository at this point in the history
  • Loading branch information
colton456p committed Nov 22, 2024
1 parent eb9a50a commit 4a18b9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/(app)/course/[courseId]/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ import { useCourse } from "@/app/(app)/course/[courseId]/(hooks)/useCourse"
import PageView from "@/components/views/Page"
import { CircularProgressbar, buildStyles } from 'react-circular-progressbar'
import 'react-circular-progressbar/dist/styles.css'
import { useStudents } from "../students/(hooks)/useStudents"
import { CalculateOnboardingCompletion } from "./(hooks)/calculateOnboardingCompletion"
const HomePage = () => {
const { courseId } = useCourse()
const { completionPercentage, nextStepTitle } = CalculateOnboardingCompletion()
const {totalStudents} = useStudents()

console.log(totalStudents)

const attributes = [
"Requirement #1",
Expand Down

0 comments on commit 4a18b9d

Please sign in to comment.