File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default async function SettingsPage() {
4545 < div className = "min-h-screen bg-gray-50 py-8" >
4646 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
4747 < div className = "mb-8" >
48- < h1 className = "text-3xl font-bold text-gray-900 " >
48+ < h1 className = "text-3xl font-bold text-purple-600 " >
4949 Member Settings
5050 </ h1 >
5151 < p className = "mt-2 text-gray-600" >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ interface QuizResult {
4747}
4848
4949interface TagPerf {
50- tag_name : string ;
50+ skill_name : string ;
5151 correct : number ;
5252 total : number ;
5353 pct : number ;
@@ -283,8 +283,8 @@ export default function AdminBasicReport() {
283283 { emp . strengths . length ? (
284284 < ul className = "list-disc list-inside ml-4" >
285285 { emp . strengths . map ( ( t ) => (
286- < li key = { t . tag_name } >
287- { t . tag_name } : { t . correct } /{ t . total } ({ t . pct } %)
286+ < li key = { t . skill_name } >
287+ { t . skill_name } : { t . correct } /{ t . total } ({ t . pct } %)
288288 </ li >
289289 ) ) }
290290 </ ul >
@@ -297,8 +297,8 @@ export default function AdminBasicReport() {
297297 { emp . weaknesses . length ? (
298298 < ul className = "list-disc list-inside ml-4" >
299299 { emp . weaknesses . map ( ( t ) => (
300- < li key = { t . tag_name } >
301- { t . tag_name } : { t . correct } /{ t . total } ({ t . pct } %)
300+ < li key = { t . skill_name } >
301+ { t . skill_name } : { t . correct } /{ t . total } ({ t . pct } %)
302302 </ li >
303303 ) ) }
304304 </ ul >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ interface QuizResult {
3333}
3434
3535interface TagPerf {
36- tag_name : string ;
36+ skill_name : string ;
3737 correct : number ;
3838 total : number ;
3939 pct : number ;
@@ -156,8 +156,8 @@ export default function BasicReport() {
156156 { data . strengths . length ? (
157157 < ul className = "list-disc list-inside" >
158158 { data . strengths . map ( ( t ) => (
159- < li key = { t . tag_name } >
160- { t . tag_name } : { t . correct } /{ t . total } ({ t . pct } %)
159+ < li key = { t . skill_name } >
160+ { t . skill_name } : { t . correct } /{ t . total } ({ t . pct } %)
161161 </ li >
162162 ) ) }
163163 </ ul >
@@ -171,8 +171,8 @@ export default function BasicReport() {
171171 { data . weaknesses . length ? (
172172 < ul className = "list-disc list-inside" >
173173 { data . weaknesses . map ( ( t ) => (
174- < li key = { t . tag_name } >
175- { t . tag_name } : { t . correct } /{ t . total } ({ t . pct } %)
174+ < li key = { t . skill_name } >
175+ { t . skill_name } : { t . correct } /{ t . total } ({ t . pct } %)
176176 </ li >
177177 ) ) }
178178 </ ul >
You can’t perform that action at this time.
0 commit comments