diff --git a/Client/Pages/Index.razor.cs b/Client/Pages/Index.razor.cs
index cec5bb3..b771e92 100644
--- a/Client/Pages/Index.razor.cs
+++ b/Client/Pages/Index.razor.cs
@@ -322,35 +322,5 @@ namespace ShiftScheduler.Client.Pages
Shifts = await HttpClient.GetFromJsonAsync>("api/shift/shifts") ?? new();
StateHasChanged();
}
-
- // Helper method to group days by week for desktop calendar view
- // Each week starts with Monday and ends with Sunday
- private List> GetWeeksInMonth()
- {
- var days = SelectedDate.DaysInMonth();
- var weeks = new List>();
- var currentWeek = new List();
-
- foreach (var day in days)
- {
- // Start a new week if this is Monday and we have days in current week
- if (day.DayOfWeek == DayOfWeek.Monday && currentWeek.Count > 0)
- {
- weeks.Add(currentWeek);
- currentWeek = new List();
- }
-
- // Add the day to current week
- currentWeek.Add(day);
- }
-
- // Add any remaining days as the last week
- if (currentWeek.Count > 0)
- {
- weeks.Add(currentWeek);
- }
-
- return weeks;
- }
}
}