Neah version calendar fix 3 debuger ???? ????????
This commit is contained in:
parent
780cb2a4ed
commit
97a0bbe31d
@ -1,7 +0,0 @@
|
||||
# SMTP Configuration
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURE=false
|
||||
SMTP_USER=your-email@gmail.com
|
||||
SMTP_PASSWORD=your-app-specific-password
|
||||
SMTP_FROM=your-email@gmail.com
|
||||
@ -99,7 +99,6 @@ export function Duties() {
|
||||
const data = await response.json();
|
||||
|
||||
if (!Array.isArray(data)) {
|
||||
console.warn('No tasks found in response', data as unknown);
|
||||
setTasks([]);
|
||||
return;
|
||||
}
|
||||
@ -138,7 +137,6 @@ export function Duties() {
|
||||
|
||||
setTasks(sortedTasks.slice(0, 7));
|
||||
} catch (error) {
|
||||
console.error('Error fetching tasks:', error);
|
||||
setError(error instanceof Error ? error.message : 'Failed to fetch tasks');
|
||||
} finally {
|
||||
setLoading(false);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user