chore(repo): remove dead code and useless tests (#3375)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-10 21:43:29 +02:00
1 parent 7e177a1c90
commit 1cd62eb661
1391 files changed
+783 -120415

No files matched your search

@@ -74,22 +74,6 @@ export function useSoundSettings() {
const handleToggleSound = (soundType: SoundType, enabled: boolean) => {
SoundCommands.updateSoundSettings({soundType, enabled});
};
const handleEnableAllSounds = () => {
Object.keys(soundTypeLabels).forEach((soundType) => {
SoundCommands.updateSoundSettings({
soundType: soundType as SoundType,
enabled: true,
});
});
};
const handleDisableAllSounds = () => {
Object.keys(soundTypeLabels).forEach((soundType) => {
SoundCommands.updateSoundSettings({
soundType: soundType as SoundType,
enabled: false,
});
});
};
const handlePreviewSound = useCallback((soundType: SoundType) => {
SoundCommands.stopAllSounds();
SoundCommands.previewSound(soundType);
@@ -177,8 +161,6 @@ export function useSoundSettings() {
customSounds,
handleToggleAllSounds,
handleToggleSound,
handleEnableAllSounds,
handleDisableAllSounds,
handlePreviewSound,
handleUploadClick,
handleCustomSoundDelete,