fix: buttons not working
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user