fix: 🐛 Fix imports for ui-next (#4394)

This commit is contained in:
Igor Octaviano authored and GitHub committed 2024-09-30 17:45:14 -04:00
1 parent dd8e69a8cf
commit 43efed207e
6 files changed
+10 -10

No files matched your search

@@ -2,8 +2,8 @@ import * as React from 'react';
import { format, parse, isValid } from 'date-fns';
import { Calendar as CalendarIcon } from 'lucide-react';
import { cn } from '../../lib/utils';
import Calendar from '../Calendar';
import Popover from '../Popover';
import { Calendar } from '../Calendar';
import * as Popover from '../Popover';
export type DatePickerWithRangeProps = {
id: string;
@@ -90,7 +90,7 @@ export function DatePickerWithRange({
value={start}
onChange={e => handleInputChange(e, 'start')}
className={cn(
'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-sm font-normal hover:bg-black hover:text-white',
'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-sm font-normal hover:bg-black hover:text-white',
!start && 'text-muted-foreground'
)}
data-cy="input-date-range-start"