fix(api): fix api endpoint logic #3

This commit is contained in:
shafin-r
2025-08-17 14:08:17 +06:00
parent ad46bf954e
commit 4f23f357e6
7 changed files with 87 additions and 69 deletions

View File

@ -144,8 +144,7 @@ const HomePage = () => {
{/* Leaderboard Section */}
<div className={styles.leaderboardWrapper}>
<h2 className={styles.sectionTitle}>Leaderboard</h2>
<p className="text-center text-xl">Coming Soon.</p>
{/* <div className={styles.leaderboardContainer}>
<div className={styles.leaderboardContainer}>
<div className={styles.topThreeHeader}>
<span className={styles.topThreeTitle}>Top 3</span>
<button
@ -157,7 +156,7 @@ const HomePage = () => {
</div>
<div className={styles.divider}></div>
<div className={styles.topThreeList}>
{boardError ? (
{/* {boardError ? (
<DestructibleAlert text={boardError} />
) : (
getTopThree(boardData).map((student, idx) => (
@ -174,9 +173,10 @@ const HomePage = () => {
</span>
</div>
))
)}
)} */}
<h2 className="text-center text-xl">Coming soon</h2>
</div>
</div> */}
</div>
</div>
{/* Performance Summary Section */}