@@ -1138,54 +1138,57 @@ function InterviewPrepContent({
11381138 </ div >
11391139 </ div >
11401140
1141- { /* Tab Content */ }
1142- < div className = "interview-prep-page max-w-6xl mx-auto px-4 py-12" >
1143- { /* Overview Tab */ }
1144- { activeTab === "overview" && (
1145- < OverviewTab
1146- toggleTips = { toggleTips }
1147- toggleQuestions = { toggleQuestions }
1148- showTips = { showTips }
1149- showQuestions = { showQuestions }
1150- setActiveTab = { setActiveTab }
1151- />
1152- ) }
1141+ { /* Tab Content */ }
1142+ < div className = "interview-prep-page max-w-6xl mx-auto px-4 py-12" >
1143+ { /* Overview Tab */ }
1144+ { activeTab === "overview" && (
1145+ < OverviewTab
1146+ toggleTips = { toggleTips }
1147+ toggleQuestions = { toggleQuestions }
1148+ showTips = { showTips }
1149+ showQuestions = { showQuestions }
1150+ setActiveTab = { setActiveTab }
1151+ />
1152+ ) }
11531153
1154- { /* Technical Tab */ }
1155- { activeTab === "technical" && (
1156- < TechnicalTab
1157- technicalResources = { technicalResources }
1158- practicePlatforms = { practicePlatforms }
1159- expandedCategories = { expandedCategories }
1160- toggleCategory = { toggleCategory }
1161- />
1162- ) }
1154+ { /* Technical Tab */ }
1155+ { activeTab === "technical" && (
1156+ < TechnicalTab
1157+ technicalResources = { technicalResources }
1158+ practicePlatforms = { practicePlatforms }
1159+ expandedCategories = { expandedCategories }
1160+ toggleCategory = { toggleCategory }
1161+ />
1162+ ) }
11631163
1164- { /* Behavioral Tab */ }
1165- { activeTab === "behavioral" && (
1166- < BehavioralTab
1167- behavioralQuestions = { behavioralQuestions }
1168- expandedCategories = { expandedCategories }
1169- toggleCategory = { toggleCategory }
1170- />
1171- ) }
1164+ { /* Behavioral Tab */ }
1165+ { activeTab === "behavioral" && (
1166+ < BehavioralTab
1167+ behavioralQuestions = { behavioralQuestions }
1168+ expandedCategories = { expandedCategories }
1169+ toggleCategory = { toggleCategory }
1170+ />
1171+ ) }
11721172
1173- { /* Companies Tab */ }
1174- { activeTab === "companies" && (
1175- < CompaniesTab
1176- companyTips = { companyTips }
1177- toggleTips = { toggleTips }
1178- toggleQuestions = { toggleQuestions }
1179- showTips = { showTips }
1180- showQuestions = { showQuestions }
1181- />
1182- ) }
1173+ { /* Companies Tab */ }
1174+ { activeTab === "companies" && (
1175+ < CompaniesTab
1176+ companyTips = { companyTips }
1177+ toggleTips = { toggleTips }
1178+ toggleQuestions = { toggleQuestions }
1179+ showTips = { showTips }
1180+ showQuestions = { showQuestions }
1181+ />
1182+ ) }
11831183
1184- { /* Practice Tab */ }
1185- { activeTab === "practice" && (
1186- < PracticeTab mockInterviewQuestions = { mockInterviewQuestions } />
1187- ) }
1188- </ div >
1184+ { /* Practice Tab */ }
1185+ { activeTab === "practice" && (
1186+ < PracticeTab
1187+ mockInterviewQuestions = { mockInterviewQuestions }
1188+ onTabChange = { setActiveTab } // ✅ pass the function here
1189+ />
1190+ ) }
1191+ </ div >
11891192
11901193 { /* Call to Action */ }
11911194 < motion . section
0 commit comments