fix(settings): resolve ReferenceError and add detailed persistence logs

This commit is contained in:
Michael committed 2026-02-21 14:49:14 +01:00
1 parent 85215565fa
commit 1c5fe4499a
2 files changed
+7 -5

No files matched your search

+4 -4
View File
@@ -90,10 +90,6 @@ export default function SettingsPage() {
}
}, []);
if (!isMounted) {
return null;
}
const reloadFromServer = async () => {
const config = await getSavedDatabaseConfig();
if (config) {
@@ -147,6 +143,10 @@ export default function SettingsPage() {
}
};
if (!isMounted) {
return null;
}
return (
<div className="space-y-6 max-w-xl">
<div>