Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Nov 26, 2023
1 parent a806f30 commit c9ef027
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/score/setup/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default function Score() {
const [notificationMessage, setNotificationMessage] = useState("");

const [profiles, setProfiles] = useState([] as any[]);
const [currentProfile, setCurrentProfile] = useState({} as any);
const [profileName, setProfileName] = useState("");

const updateLocation = (value: string) => setLocation(value);
Expand All @@ -54,7 +53,6 @@ export default function Score() {
}, [user]);

const loadProfile = (profile: any) => {
setCurrentProfile(profile);
setLocation(profile.location);
setProfileName(profile.profileName);
setDistanceUnit(profile.distanceUnit);
Expand Down

0 comments on commit c9ef027

Please sign in to comment.