diff --git a/src/components/learning/ExerciseSuggestions.tsx b/src/components/learning/ExerciseSuggestions.tsx index cb59511..6a242e4 100644 --- a/src/components/learning/ExerciseSuggestions.tsx +++ b/src/components/learning/ExerciseSuggestions.tsx @@ -85,9 +85,9 @@ export function ExerciseSuggestions({ storyId, storyText, readingMetrics }: Exer return (
-

+

ExercĂ­cios Sugeridos -

+
{generateExercises().map((exercise) => (
*/} +
+ {/* Depois do StoryMetrics */} + {recordings.length > 0 && ( + imp.includes('palavra')) + .map(imp => imp.match(/palavra "([^"]+)"/)?.[1]) + .filter(Boolean) as string[], + errorCount: getLatestRecording().error_count, + pauseCount: getLatestRecording().pause_count, + fluencyScore: getLatestRecording().fluency_score + }} + /> + )} {/* Dashboard de métricas */} {loadingRecordings ? ( @@ -931,7 +948,7 @@ export function StoryPage() {
) : recordings.length > 0 ? ( -
+

Dashboard de Leitura

- {/* Depois do StoryMetrics */} - {recordings.length > 0 && ( - imp.includes('palavra')) - .map(imp => imp.match(/palavra "([^"]+)"/)?.[1]) - .filter(Boolean) as string[], - errorCount: getLatestRecording().error_count, - pauseCount: getLatestRecording().pause_count, - fluencyScore: getLatestRecording().fluency_score - }} - /> - )} +
); } \ No newline at end of file