diff --git a/src/app/[locale]/(default)/shift-schedule/layout.tsx b/src/app/[locale]/(default)/shift-schedule/layout.tsx index 7425732..8aa4078 100644 --- a/src/app/[locale]/(default)/shift-schedule/layout.tsx +++ b/src/app/[locale]/(default)/shift-schedule/layout.tsx @@ -16,7 +16,7 @@ export default async function ShiftScheduleLayout({ return ( <> -

{t('title')}

+

{t('title')}

{children} ); diff --git a/src/app/[locale]/(default)/shift-schedule/loading.tsx b/src/app/[locale]/(default)/shift-schedule/loading.tsx index 2dce3c0..7086b1d 100644 --- a/src/app/[locale]/(default)/shift-schedule/loading.tsx +++ b/src/app/[locale]/(default)/shift-schedule/loading.tsx @@ -63,9 +63,9 @@ export default function ShiftScheduleLayout() { return ( <> {/* Table shown on small screens */} -
- {days.map((day, index) => ( - +
+ {days.map((day) => ( +
{t('time')} @@ -94,7 +94,7 @@ export default function ShiftScheduleLayout() { {/* Table shown on all other screens */} -
+
{t('time')} diff --git a/src/components/shift-schedule/AdministratorMenu.tsx b/src/components/shift-schedule/AdministratorMenu.tsx index 6037a5f..6b05a89 100644 --- a/src/components/shift-schedule/AdministratorMenu.tsx +++ b/src/components/shift-schedule/AdministratorMenu.tsx @@ -25,7 +25,7 @@ function AdministratorMenu({ t }: AdministratorMenuProps) {
{t.label} diff --git a/src/components/shift-schedule/ScheduleTable.tsx b/src/components/shift-schedule/ScheduleTable.tsx index e26996c..a438008 100644 --- a/src/components/shift-schedule/ScheduleTable.tsx +++ b/src/components/shift-schedule/ScheduleTable.tsx @@ -86,9 +86,9 @@ function ScheduleTable({ week }: ScheduleTableProps) { return ( <> {/* Table shown on small screens */} -
- {days.map((day, index) => ( -
+
+ {days.map((day) => ( +
{t('time')} @@ -121,7 +121,7 @@ function ScheduleTable({ week }: ScheduleTableProps) { {/* Table shown on all other screens */} -
+
{t('time')}