typo: remove console.log

merge-requests/10/head
Torpenn 2024-10-13 23:22:01 +02:00
parent 3dda62869a
commit f5b9fd0bf5
1 changed files with 0 additions and 3 deletions

View File

@ -20,13 +20,10 @@ export default function Dashboard() {
const init = async () => { const init = async () => {
try { try {
const soundEnabledLocal = await loadUserSettings('soundEnabled'); const soundEnabledLocal = await loadUserSettings('soundEnabled');
console.log('soundEnabledLocal', soundEnabledLocal);
if (soundEnabledLocal === null) { if (soundEnabledLocal === null) {
console.log('soundEnabledLocal is null');
setSoundEnabled(true); setSoundEnabled(true);
} else { } else {
console.log('soundEnabledLocal is present', );
setSoundEnabled(Boolean(Number(soundEnabledLocal))); setSoundEnabled(Boolean(Number(soundEnabledLocal)));
} }
} catch (error) { } catch (error) {