Skip to content

Commit bdd93c8

Browse files
committed
Remove ununsed variables
1 parent 6f700c2 commit bdd93c8

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

frontend/src/components/gamification/ExperienceLevels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Trophy, Star, Target, Zap, Award } from 'lucide-react';
2+
import { Trophy, Star, Zap, Award } from 'lucide-react';
33

44
interface ExperienceLevelsProps {
55
currentPoints: number;

frontend/src/components/profile/UserProfile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { User } from '../../types';
3-
import { User as UserIcon, Mail, GraduationCap, Languages, Briefcase, Save, X, Award, MapPin, Globe, Calendar, Star, Trophy } from 'lucide-react';
3+
import { User as UserIcon, Mail, GraduationCap, Languages, Briefcase, Save, X } from 'lucide-react';
44

55
interface UserProfileProps {
66
user: User;

frontend/src/pages/Profile.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,9 @@ const Profile: React.FC = () => {
6060
}
6161

6262
// Calculate stats
63-
const totalPoints = user.points;
6463
const currentStreak = user.currentStreak;
6564
const longestStreak = user.longestStreak;
6665

67-
// Calculate level progress
68-
const currentLevel = user.level;
69-
const nextLevelPoints = (currentLevel + 1) * 100;
70-
const currentLevelStartPoints = currentLevel * 100;
71-
7266
return (
7367
<div className="space-y-6">
7468
{/* Header */}

0 commit comments

Comments
 (0)