The open-source AI voice studio. Clone, dictate, create.
Refactor HistoryTable and SampleList components for improved code consistency
Jamie Pinecc37e042219f
diff --git a/app/src/components/History/HistoryTable.tsx b/app/src/components/History/HistoryTable.tsxindex 418546b5..bfb27edd 100644--- a/app/src/components/History/HistoryTable.tsx+++ b/app/src/components/History/HistoryTable.tsx@@ -233,7 +233,7 @@ export function HistoryTable() {</div>{/* Far right - Ellipsis actions */}- <div+ <divclassName="w-10 shrink-0 flex justify-end"onMouseDown={(e) => e.stopPropagation()}onClick={(e) => e.stopPropagation()}diff --git a/app/src/components/VoiceProfiles/SampleList.tsx b/app/src/components/VoiceProfiles/SampleList.tsxindex 6dad3325..8edf1764 100644--- a/app/src/components/VoiceProfiles/SampleList.tsx+++ b/app/src/components/VoiceProfiles/SampleList.tsx@@ -1,9 +1,9 @@import { Plus, Trash2, Play } from 'lucide-react';import { useState } from 'react';import { Button } from '@/components/ui/button';+import { apiClient } from '@/lib/api/client';import { useDeleteSample, useProfileSamples } from '@/lib/hooks/useProfiles';import { usePlayerStore } from '@/stores/playerStore';-import { apiClient } from '@/lib/api/client';import { SampleUpload } from './SampleUpload';interface SampleListProps {