feat: add sonner for notifications and update theme handling in Toaster component
Some checks failed
Frontend CI / lint (push) Failing after 5m7s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-07-05 08:37:16 +02:00
parent 3f0fc13a12
commit 06e0489923
6 changed files with 37 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ interface NormalizationStats {
size_difference: number;
}
export default function AdminSoundsPage() {
export function AdminSoundsPage() {
const [sounds, setSounds] = useState<Sound[]>([]);
const [scanStats, setScanStats] = useState<ScanStats | null>(null);
const [normalizationStats, setNormalizationStats] = useState<NormalizationStats | null>(null);

View File

@@ -68,7 +68,7 @@ const SoundCard: React.FC<SoundCardProps> = ({ sound, onPlay, isPlaying }) => {
);
};
export default function SoundboardPage() {
export function SoundboardPage() {
const [sounds, setSounds] = useState<Sound[]>([]);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);