Skip to content

Fix incorrect percentage calculation in Sessions by Punctuality#39

Open
VotrASCII wants to merge 1 commit into
qu8n:mainfrom
VotrASCII:fix/punctuality-percentage-calculation
Open

Fix incorrect percentage calculation in Sessions by Punctuality#39
VotrASCII wants to merge 1 commit into
qu8n:mainfrom
VotrASCII:fix/punctuality-percentage-calculation

Conversation

@VotrASCII

Copy link
Copy Markdown

The totalSessions prop was hardcoded to 10 instead of using the actual value passed from the parent component. This caused the percentage calculation to be wrong (dividing by 10 instead of actual total).

Fixes #38

The totalSessions prop was hardcoded to 10 instead of using the actual
value passed from the parent component. This caused the percentage
calculation to be wrong (dividing by 10 instead of actual total).

Fixes qu8n#38

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 29, 2026

Copy link
Copy Markdown

@VotrASCII is attempting to deploy a commit to the Quan's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The percentage shown in Sessions by Punctuality is incorrect.

1 participant