Skip to content

Commit

Permalink
Fix unmatched rating value
Browse files Browse the repository at this point in the history
  • Loading branch information
AkinariHex committed Feb 1, 2024
1 parent 6effa5b commit 3886d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default async function page({
<div className={styles.graphContainer}>
<div className={styles.header}>
<div className={styles.rating}>
<span>{Math.floor(data.generalStats.rating)}</span>
<span>{Math.round(data.generalStats.rating)}</span>
<span
className={clsx(
styles.change,
Expand Down
2 changes: 1 addition & 1 deletion app/users/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function page({
<div className={styles.graphContainer}>
<div className={styles.header}>
<div className={styles.rating}>
<span>{Math.floor(data.generalStats.rating)}</span>
<span>{Math.round(data.generalStats.rating)}</span>
<span
className={clsx(
styles.change,
Expand Down

0 comments on commit 3886d0e

Please sign in to comment.