From 37c06de74952cda6c62d833e6389a2880d1ee7b2 Mon Sep 17 00:00:00 2001 From: Sagnik Date: Sat, 18 Apr 2026 19:26:27 +0530 Subject: [PATCH] fix: restore velocity web build after webos merge --- .../modules/CatalystMarketingTab.tsx | 2 +- app/src/components/modules/Settings.tsx | 18 +----------------- app/src/hooks/useCrmBootstrap.ts | 2 +- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/app/src/components/modules/CatalystMarketingTab.tsx b/app/src/components/modules/CatalystMarketingTab.tsx index 6350c370..74aaf62f 100644 --- a/app/src/components/modules/CatalystMarketingTab.tsx +++ b/app/src/components/modules/CatalystMarketingTab.tsx @@ -1,5 +1,5 @@ import { useEffect, useMemo, useState } from 'react'; -import { Activity, BarChart3, DatabaseZap, Megaphone, RefreshCw, Sparkles } from 'lucide-react'; +import { Activity, BarChart3, DatabaseZap, Megaphone, Sparkles } from 'lucide-react'; import { getCatalystCampaigns, diff --git a/app/src/components/modules/Settings.tsx b/app/src/components/modules/Settings.tsx index 5d37d161..fa748e00 100644 --- a/app/src/components/modules/Settings.tsx +++ b/app/src/components/modules/Settings.tsx @@ -21,7 +21,7 @@ import { useStore } from '@/store/useStore'; import { useCurrency, CURRENCY_OPTIONS } from '@/store/useCurrencyStore'; import type { CurrencyCode } from '@/store/useCurrencyStore'; import { API_URL } from '@/lib/api'; -import { VELOCITY_TOKEN_KEY, clearVelocityToken, getVelocityToken, normalizeVelocityRole } from '@/lib/velocityPlatformClient'; +import { clearVelocityToken, getVelocityToken, normalizeVelocityRole } from '@/lib/velocityPlatformClient'; // ── Design tokens (matching inventory glassmorphism) ───────────────────────── const GLASS = { @@ -206,22 +206,6 @@ function GhostButton({ children, onClick, danger = false }: { children: React.Re } // ── Text input ─────────────────────────────────────────────────────────────── -function DarkInput({ type = 'text', defaultValue, placeholder }: { type?: string; defaultValue?: string; placeholder?: string }) { - return ( - { e.currentTarget.style.border = '1px solid hsl(var(--accent) / 0.4)'; }} - onBlur={(e) => { e.currentTarget.style.border = '1px solid rgba(255,255,255,0.07)'; }} - /> - ); -} // ── System Status ──────────────────────────────────────────────────────────── function SystemStatusCard() { diff --git a/app/src/hooks/useCrmBootstrap.ts b/app/src/hooks/useCrmBootstrap.ts index 1b58b6ae..fc24c004 100644 --- a/app/src/hooks/useCrmBootstrap.ts +++ b/app/src/hooks/useCrmBootstrap.ts @@ -5,7 +5,7 @@ import { mapLeadRecordToStoreLead } from '@/lib/crmMappers'; import { mapInventoryPropertySummaryToUnit } from '@/lib/platformMappers'; import { useStore } from '@/store/useStore'; import type { ChatMessage } from '@/types'; -import type { LeadRecord, ChatLogRecord } from '@/lib/api'; +import type { LeadRecord } from '@/lib/api'; import { listInventoryProperties } from '@/lib/velocityPlatformClient'; export function useCrmBootstrap() {