diff --git a/components/CalendarTab.tsx b/components/CalendarTab.tsx
index e714d0f..79a142f 100644
--- a/components/CalendarTab.tsx
+++ b/components/CalendarTab.tsx
@@ -243,10 +243,9 @@ function MonthView() {
}
export default function CalendarTab() {
- const [view, setView] = useState<'today' | 'week' | 'month'>('today')
+ const [view, setView] = useState<'week' | 'month'>('week')
- const viewOptions: { id: typeof view; label: string }[] = [
- { id: 'today', label: 'Сегодня' },
+ const viewOptions: { id: 'week' | 'month'; label: string }[] = [
{ id: 'week', label: 'Неделя' },
{ id: 'month', label: 'Месяц' },
]
@@ -278,7 +277,7 @@ export default function CalendarTab() {
- {(view === 'today' || view === 'week') && }
+ {view === 'week' && }
{view === 'month' && }
)