fix: buttons not working

This commit is contained in:
2025-11-10 11:34:54 +01:00
parent 6df5cb35de
commit a501bb0ca1
2 changed files with 19 additions and 11 deletions

View File

@@ -728,10 +728,10 @@ function App() {
return;
}
setIsDirty(true);
const updatedConfig = config.filter((item) => item.id !== entryId);
setConfig(updatedConfig);
setStatus('Eintrag gelöscht!');
setTimeout(() => setStatus(''), 3000);
await persistConfigUpdate(
(prev) => prev.filter((item) => item.id !== entryId),
'Eintrag gelöscht!'
);
};
const hideEntry = async (entryId) => {