diff --git a/src/components/story/AudioRecorder.tsx b/src/components/story/AudioRecorder.tsx
index a92da7b..c0330d2 100644
--- a/src/components/story/AudioRecorder.tsx
+++ b/src/components/story/AudioRecorder.tsx
@@ -174,7 +174,7 @@ export function AudioRecorder({
return (
diff --git a/src/pages/student-dashboard/StoryPage.tsx b/src/pages/student-dashboard/StoryPage.tsx
index 7c050a9..c8bb89b 100644
--- a/src/pages/student-dashboard/StoryPage.tsx
+++ b/src/pages/student-dashboard/StoryPage.tsx
@@ -768,21 +768,43 @@ export function StoryPage() {
>
)}
-
- {
+ const newRecording: StoryRecording = {
+ id: crypto.randomUUID(),
+ audio_url: audioUrl,
+ created_at: new Date().toISOString(),
+ processed_at: null,
+ fluency_score: 0,
+ pronunciation_score: 0,
+ accuracy_score: 0,
+ comprehension_score: 0,
+ words_per_minute: 0,
+ pause_count: 0,
+ error_count: 0,
+ self_corrections: 0,
+ strengths: [],
+ improvements: [],
+ suggestions: '',
+ transcription: ''
+ };
+ setRecordings(prev => [newRecording, ...prev]);
+
+ if (focusMode.isActive) {
+ handleFocusModeToggle();
+ }
+ }}
+ onRecordingStart={handleRecordingStart}
+ onRecordingStop={handleRecordingStop}
+ focusModeActive={focusMode.isActive}
+ onFocusModeToggle={handleFocusModeToggle}
/>
-
+
+
+ {/*
Compartilhar
+ */}
+
@@ -890,47 +914,15 @@ export function StoryPage() {
)}
{/* 6. Controle de Gravação */}
+ {/*