Neah version calendar fix 3 debuger ???? ????????

This commit is contained in:
alma 2025-04-16 22:55:20 +02:00
parent 780cb2a4ed
commit 97a0bbe31d
2 changed files with 0 additions and 9 deletions

View File

@ -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

View File

@ -99,7 +99,6 @@ export function Duties() {
const data = await response.json(); const data = await response.json();
if (!Array.isArray(data)) { if (!Array.isArray(data)) {
console.warn('No tasks found in response', data as unknown);
setTasks([]); setTasks([]);
return; return;
} }
@ -138,7 +137,6 @@ export function Duties() {
setTasks(sortedTasks.slice(0, 7)); setTasks(sortedTasks.slice(0, 7));
} catch (error) { } catch (error) {
console.error('Error fetching tasks:', error);
setError(error instanceof Error ? error.message : 'Failed to fetch tasks'); setError(error instanceof Error ? error.message : 'Failed to fetch tasks');
} finally { } finally {
setLoading(false); setLoading(false);