diff --git a/actions/system-info.ts b/actions/system-info.ts deleted file mode 100644 index 54c9204..0000000 --- a/actions/system-info.ts +++ /dev/null @@ -1,16 +0,0 @@ -'use server'; - -import { SystemInfoService } from '@/services/system-info'; - -export async function getSystemInfo() { - try { - const systemInfo = await SystemInfoService.getSystemInfo(); - return { success: true, data: systemInfo }; - } catch (error) { - console.error('Error getting system info:', error); - return { - success: false, - error: error instanceof Error ? error.message : 'Failed to get system info' - }; - } -} diff --git a/lib/workday-utils.ts b/lib/workday-utils.ts index 402745c..95c5ee4 100644 --- a/lib/workday-utils.ts +++ b/lib/workday-utils.ts @@ -80,3 +80,4 @@ export function getDayName(date: Date): string { const days = ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi']; return days[date.getDay()]; } +