chore: linting

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-07-13 16:30:37 -07:00
parent 1131da5ed7
commit e8b3692b54
20 changed files with 74 additions and 82 deletions

View file

@ -1018,10 +1018,7 @@ const ConnectedScraperIcons: FC<{ workspaceId: number }> = ({ workspaceId }) =>
return (
<Tooltip key={platform.id}>
<TooltipTrigger asChild>
<Avatar
className="size-5"
style={{ zIndex: platforms.length - i }}
>
<Avatar className="size-5" style={{ zIndex: platforms.length - i }}>
<AvatarFallback className="bg-popover text-[10px]">
<Icon className="size-3" />
</AvatarFallback>

View file

@ -27,7 +27,8 @@ export type HeroChatDemoScript = {
type Stage = "typing" | "steps" | "answer" | "done";
const PLACEHOLDER = "Track competitors, scrape platforms, automate briefs. Use / for prompts, @ for docs";
const PLACEHOLDER =
"Track competitors, scrape platforms, automate briefs. Use / for prompts, @ for docs";
/** Blinking caret for the typewriter (overlay only, never inside the real input). */
function Caret() {

View file

@ -717,10 +717,10 @@ export function HeroSection() {
"relative mb-8 max-w-2xl text-left text-sm text-neutral-600 antialiased sm:text-base md:text-lg dark:text-neutral-400"
)}
>
SurfSense is an open-source competitive intelligence platform, like NotebookLM but with
live scraping connectors. Your AI agents monitor competitors, track rankings, and listen
to your market with live data from platforms like Reddit, YouTube, Instagram, TikTok,
Google Maps, Google Search, and the open web.
SurfSense is an open-source competitive intelligence platform, like NotebookLM but
with live scraping connectors. Your AI agents monitor competitors, track rankings, and
listen to your market with live data from platforms like Reddit, YouTube, Instagram,
TikTok, Google Maps, Google Search, and the open web.
</p>
<div className="relative mb-4 flex w-full flex-col justify-center gap-y-2 sm:flex-row sm:justify-start sm:space-y-0 sm:space-x-4">

View file

@ -324,9 +324,7 @@ export function NotificationsDropdown({
)}
>
<span>{tab.label}</span>
<span
className="inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-muted px-1.5 text-[11px] font-semibold text-muted-foreground"
>
<span className="inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-muted px-1.5 text-[11px] font-semibold text-muted-foreground">
{formatNotificationCount(tab.count)}
</span>
</button>

View file

@ -198,8 +198,8 @@ export function AutoReloadSettings() {
<AlertTriangle className="h-4 w-4" />
<AlertTitle>Last top-up failed</AlertTitle>
<AlertDescription>
Your saved card was declined and top-ups were turned off. Update your card and
re-enable top-ups below.
Your saved card was declined and top-ups were turned off. Update your card and re-enable
top-ups below.
</AlertDescription>
</Alert>
)}
@ -290,7 +290,11 @@ export function AutoReloadSettings() {
</div>
<div className="flex justify-end">
<Button className="w-full sm:w-auto" onClick={handleSave} disabled={saveMutation.isPending}>
<Button
className="w-full sm:w-auto"
onClick={handleSave}
disabled={saveMutation.isPending}
>
{saveMutation.isPending ? (
<>
<Spinner size="xs" />

View file

@ -59,7 +59,12 @@ export function WorkspaceApiAccessControl({
if (isLoading) {
return (
<div className={cn("flex flex-col gap-3 md:flex-row md:items-center md:justify-between", className)}>
<div
className={cn(
"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",
className
)}
>
<div className="space-y-2">
<Skeleton className="h-4 w-32" />
<Skeleton className="h-3 w-56" />
@ -71,7 +76,12 @@ export function WorkspaceApiAccessControl({
if (isError) {
return (
<div className={cn("flex flex-col gap-3 md:flex-row md:items-center md:justify-between", className)}>
<div
className={cn(
"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",
className
)}
>
<div className="space-y-1">
<Label>API key access</Label>
<p className="text-xs text-destructive">Failed to load workspace API access.</p>
@ -84,7 +94,12 @@ export function WorkspaceApiAccessControl({
}
return (
<div className={cn("flex flex-col gap-3 md:flex-row md:items-center md:justify-between", className)}>
<div
className={cn(
"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",
className
)}
>
<div className="space-y-1">
<Label htmlFor="api-access-enabled">API key access</Label>
<p className="text-xs text-muted-foreground">Allow API keys to access this workspace.</p>