Spaces:
Running
Running
gpt-engineer-app[bot]
commited on
Commit
·
c430305
1
Parent(s):
a390f29
Fix: Syntax error in CalendarPage component
Browse filesThe CalendarPage component contained a syntax error causing a build failure. This commit addresses the error.
- src/pages/Calendar.tsx +2 -4
src/pages/Calendar.tsx
CHANGED
@@ -287,15 +287,13 @@ const CalendarPage = () => {
|
|
287 |
head_row: "flex",
|
288 |
head_cell: "text-muted-foreground rounded-md w-10 font-normal text-[0.8rem]",
|
289 |
row: "flex w-full mt-2",
|
290 |
-
cell:
|
291 |
-
[&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md
|
292 |
-
last:[&:has([aria-selected])]:rounded-r-md hover:bg-neutral-50",
|
293 |
day: "h-10 w-10 p-0 font-normal hover:bg-neutral-100 rounded-lg transition-colors",
|
294 |
day_today: "bg-neutral-100 text-primary font-semibold",
|
295 |
nav: "space-x-1 flex items-center",
|
296 |
nav_button: "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
|
297 |
nav_button_previous: "absolute left-1",
|
298 |
-
nav_button_next: "absolute right-1"
|
299 |
}}
|
300 |
/>
|
301 |
</div>
|
|
|
287 |
head_row: "flex",
|
288 |
head_cell: "text-muted-foreground rounded-md w-10 font-normal text-[0.8rem]",
|
289 |
row: "flex w-full mt-2",
|
290 |
+
cell: "h-10 w-10 text-center text-sm p-0 relative focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md hover:bg-neutral-50",
|
|
|
|
|
291 |
day: "h-10 w-10 p-0 font-normal hover:bg-neutral-100 rounded-lg transition-colors",
|
292 |
day_today: "bg-neutral-100 text-primary font-semibold",
|
293 |
nav: "space-x-1 flex items-center",
|
294 |
nav_button: "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
|
295 |
nav_button_previous: "absolute left-1",
|
296 |
+
nav_button_next: "absolute right-1"
|
297 |
}}
|
298 |
/>
|
299 |
</div>
|