diff --git a/.cspell.json b/.cspell.json index 0da70ed82..7d564cd35 100644 --- a/.cspell.json +++ b/.cspell.json @@ -33,6 +33,7 @@ "Bowser", "Btns", "Konviser", + "Ruslan", "Bugsnag", "buildjet", "cacheable", diff --git a/apps/web/app/[locale]/calendar/component.tsx b/apps/web/app/[locale]/calendar/component.tsx index 3a44ef27e..4be0c2305 100644 --- a/apps/web/app/[locale]/calendar/component.tsx +++ b/apps/web/app/[locale]/calendar/component.tsx @@ -17,6 +17,7 @@ import { CalendarDays } from "lucide-react"; import React from "react"; import { DateRange } from "react-day-picker"; import { LuCalendarDays } from "react-icons/lu"; +import { Input } from "@components/ui/input"; export function HeadCalendar({ openModal, @@ -65,54 +66,65 @@ export function HeadTimeSheet({ timesheet }: { timesheet?: timesheetCalendar }) from: new Date(2022, 0, 20), to: addDays(new Date(2022, 0, 20), 20) }); - console.log(timesheet); return (
{timesheet === 'TimeSheet' && ( -
-
- -
- - - - - } - mode={'range'} - numberOfMonths={2} - initialFocus - defaultMonth={date?.from} - selected={date} - onSelect={(value) => { - value && setDate(value); - }} +
+ -
- + +
+
+ +
+
+ + + + + } + mode={'range'} + numberOfMonths={2} + initialFocus + defaultMonth={date?.from} + selected={date} + onSelect={(value) => { + value && setDate(value); + }} + /> +
+
+ +
)} @@ -133,9 +145,8 @@ export function CustomSelect() { return (