#16 fix spelling
This commit is contained in:
@@ -79,10 +79,10 @@
|
||||
if (response.ok) {
|
||||
workouts = workouts.filter((workout) => workout.id !== id);
|
||||
} else {
|
||||
addToast('Failed to fetch workouts: ' + (await response.text()), 'error');
|
||||
addToast('Failed to delete workout: ' + (await response.text()), 'error');
|
||||
}
|
||||
} catch (error: any) {
|
||||
addToast('Failed to fetch workouts: ' + error.message, 'error');
|
||||
addToast('Failed to delete workout: ' + error.message, 'error');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user