diff --git a/src/components/Dashboard.js b/src/components/Dashboard.js
index 5db39d8..0bf01dd 100644
--- a/src/components/Dashboard.js
+++ b/src/components/Dashboard.js
@@ -137,13 +137,11 @@ const memoizedCareerSuggestions = useMemo(() => filteredCareers, [filteredCareer
if (profileResponse.ok) {
const profileData = await profileResponse.json();
- console.log('Fetched User Profile:', profileData);
const { state, area, zipcode } = profileData; // Use 'area' instead of 'AREA_TITLE'
setUserState(state);
setAreaTitle(area && area.trim() ? area.trim() : ''); // Ensure 'area' is set correctly
setUserZipcode(zipcode); // Set 'zipcode' in the state
- console.log('Profile Data Set:', { state, area, zipcode });
} else {
console.error('Failed to fetch user profile');
}
@@ -192,7 +190,6 @@ async (career) => {
try {
salaryResponse = await axios.get(`${apiUrl}/salary`, { params: { socCode: socCode.split('.')[0], area: areaTitle }});
} catch (error) {
- console.warn(`⚠️ Salary data not available for ${career.title} (${socCode})`);
salaryResponse = { data: {} }; // Prevents breaking the whole update
}
@@ -201,7 +198,6 @@ async (career) => {
try {
economicResponse = await axios.get(`${apiUrl}/projections/${socCode.split('.')[0]}`);
} catch (error) {
- console.warn(`⚠️ Economic projections not available for ${career.title} (${socCode})`);
economicResponse = { data: {} }; // Prevents breaking the whole update
}
@@ -210,7 +206,7 @@ async (career) => {
try {
tuitionResponse = await axios.get(`${apiUrl}/tuition`, { params: { cipCode: cleanedCipCode, state: userState }});
} catch (error) {
- console.warn(`⚠️ Tuition data not available for ${career.title} (${socCode})`);
+
tuitionResponse = { data: {} };
}
@@ -228,7 +224,6 @@ async (career) => {
const { distance, duration } = response.data;
return { ...school, distance, duration };
} catch (error) {
- console.warn(`⚠️ Distance calculation failed for ${school.INSTNM}`);
return { ...school, distance: 'N/A', duration: 'N/A' };
}
}));
@@ -264,8 +259,6 @@ async (career) => {
[userState, apiUrl, areaTitle, userZipcode]
);
- console.log('Updated careerDetails:', careerDetails);
-
const chartData = {
labels: riaSecScores.map((score) => score.area),
datasets: [
@@ -281,40 +274,50 @@ async (career) => {
return (
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/src/components/GettingStarted.js b/src/components/GettingStarted.js
index 0c21390..6c9fba8 100644
--- a/src/components/GettingStarted.js
+++ b/src/components/GettingStarted.js
@@ -15,24 +15,25 @@ function GettingStarted() {
Let’s start by getting to know you better. Completing the steps below will help us tailor career recommendations based on your interests.
-
-
🎯
-
-
Step 1: Complete the O*Net Interest Inventory
-
Discover your career interests by taking the O*Net inventory. This will help us suggest personalized career paths for you.
- {/* Start Inventory button */}
-
-
-
📄
-
Step 2: Set Up Your Profile
+
Step 1: Set Up Your Profile
Add details like your skills, education, and experience to further personalize your recommendations.
+
+
+
🎯
+
+
Step 2: Complete the O*Net Interest Inventory
+
Discover your career interests by taking the O*Net inventory. This will help us suggest personalized career paths for you.
+ {/* Start Inventory button */}
+
+
+
);