Update data deletion now in data manager with customization, minor UI improvements, increased chart y-axis tick count (regression)
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user