Update data deletion now in data manager with customization, minor UI improvements, increased chart y-axis tick count (regression)

This commit is contained in:
2026-02-04 12:24:03 +00:00
parent 11dacb5441
commit efa45ab288
10 changed files with 469 additions and 48 deletions

View File

@@ -311,13 +311,6 @@ export const useAppState = () => {
}));
};
const handleReset = () => {
if (window.confirm("Bist du sicher, dass du alle Einstellungen auf die Standardwerte zurücksetzen möchtest? Dies kann nicht rückgängig gemacht werden.")) {
window.localStorage.removeItem(LOCAL_STORAGE_KEY);
window.location.reload();
}
};
return {
appState,
isLoaded,
@@ -331,7 +324,6 @@ export const useAppState = () => {
removeDoseFromDay,
updateDoseInDay,
updateDoseFieldInDay,
sortDosesInDay,
handleReset
sortDosesInDay
};
};