diff --git a/src/components/CareerCoach.js b/src/components/CareerCoach.js index 6b5f3bc..5584a7b 100644 --- a/src/components/CareerCoach.js +++ b/src/components/CareerCoach.js @@ -104,9 +104,12 @@ We can refine details anytime or just jump straight to what you're most interest careerName ); - const interestInventoryMessage = userProfile?.riasec - ? `With your Interest Inventory profile (${userProfile.riasec}), I can tailor suggestions more precisely.` - : `If you complete the Interest Inventory, I’ll be able to offer more targeted suggestions based on your interests.`; + const hasInterestAnswers = Boolean(userProfile?.interest_inventory_answers?.trim()); + +const interestInventoryMessage = hasInterestAnswers + ? `Since you've completed the Interest Inventory, I can offer more targeted suggestions based on your responses.` + : `If you complete the Interest Inventory, I’ll be able to offer more targeted suggestions based on your interests.`; + const riskMessage = riskLevel && riskReasoning