chore: ran frontend linting

This commit is contained in:
Anish Sarkar 2026-01-09 18:22:54 +05:30
parent b17cb40732
commit 61560e5d4f
3 changed files with 10 additions and 6 deletions

View file

@ -7,7 +7,13 @@ import { cn } from "@/lib/utils";
export const Logo = ({ className }: { className?: string }) => { export const Logo = ({ className }: { className?: string }) => {
return ( return (
<Link href="/"> <Link href="/">
<Image src="/icon-128.svg" className={cn("dark:invert", className)} alt="logo" width={128} height={128} /> <Image
src="/icon-128.svg"
className={cn("dark:invert", className)}
alt="logo"
width={128}
height={128}
/>
</Link> </Link>
); );
}; };

View file

@ -102,10 +102,8 @@ export const DateRangeSelector: FC<DateRangeSelectorProps> = ({
!endDate && "text-muted-foreground" !endDate && "text-muted-foreground"
)} )}
> >
<CalendarIcon className="mr-2 h-4 w-4" /> <CalendarIcon className="mr-2 h-4 w-4" />
{endDate {endDate ? format(endDate, "PPP") : "Default (Today)"}
? format(endDate, "PPP")
: "Default (Today)"}
</Button> </Button>
</PopoverTrigger> </PopoverTrigger>
<PopoverContent className="w-auto p-0 z-[100]" align="start"> <PopoverContent className="w-auto p-0 z-[100]" align="start">

View file

@ -79,7 +79,7 @@ export const useConnectorDialog = () => {
connectorType: string; connectorType: string;
connectorTitle: string; connectorTitle: string;
} | null>(null); } | null>(null);
// Track if we came from accounts list when entering edit mode // Track if we came from accounts list when entering edit mode
const [cameFromAccountsList, setCameFromAccountsList] = useState<{ const [cameFromAccountsList, setCameFromAccountsList] = useState<{
connectorType: string; connectorType: string;