diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 3945565a..96a661c5 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -5,10 +5,8 @@ import { Repos } from './pages/Repos'
import { RepoDetail } from './pages/RepoDetail'
import { SessionDetail } from './pages/SessionDetail'
import { SettingsDialog } from './components/settings/SettingsDialog'
-import { FloatingActionButton } from './components/ui/floating-action-button'
import { useSettingsDialog } from './hooks/useSettingsDialog'
import { useTheme } from './hooks/useTheme'
-import { useTTS } from './hooks/useTTS'
import { TTSProvider } from './contexts/TTSContext'
const queryClient = new QueryClient({
@@ -22,7 +20,6 @@ const queryClient = new QueryClient({
function AppContent() {
const { isOpen, close } = useSettingsDialog()
- const { isPlaying, stop } = useTTS()
useTheme()
return (
@@ -34,12 +31,6 @@ function AppContent() {
-
state.isEditingMessage);
+ const { isPlaying, stop } = useTTS();
useKeyboardShortcuts({
openModelDialog: () => setModelDialogOpen(true),
@@ -267,6 +269,21 @@ export function SessionDetail() {
Clear
)}
+ {isPlaying && (
+
+ )}