chore(src): 🔧 Update TypeScript component files in src directory

This commit is contained in:
Lilith 2026-01-21 22:36:47 -08:00
parent 28d628bf23
commit 2ae05b42d6
9 changed files with 10 additions and 9 deletions

View file

@ -12,7 +12,7 @@
import { AreaChart, PieChart, FunnelChart } from '@lilith/ui-charts'
import { Button, Card, Spinner, Badge, Select } from '@lilith/ui-primitives'
import { Container, Grid, Stack } from '@lilith/ui-layout'
import { Container, Stack } from '@lilith/ui-layout'
import { DashboardLayout, RealtimeMetric } from '@lilith/ui-analytics'
import { DataTable } from '@lilith/ui-data'
import { Heading, Text } from '@lilith/ui-typography'

View file

@ -175,5 +175,7 @@ interface ThemeInterface {
}
declare module 'styled-components' {
// Augment DefaultTheme to match our ThemeInterface
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface DefaultTheme extends ThemeInterface {}
}

View file

@ -44,7 +44,7 @@ export class DerivativeClipperService implements OnModuleInit {
try {
const health = await this.client.health();
this.logger.log(`Image processing service connected: Sharp ${health.sharpVersion}`);
} catch (error) {
} catch {
this.logger.warn('Image processing service not available - derivatives will fail');
}
}

View file

@ -14,7 +14,6 @@ import {
MerchantActionPools,
MerchantRolloverPolicy,
MerchantRecencyCache,
MerchantTierVerification,
} from '@/merchant';
import { UpdateTierDto, TierUpdatePreviewDto } from './dto';
import {

View file

@ -10,7 +10,7 @@
import { useState, useEffect, useRef, useCallback } from 'react';
import styled, { type DefaultTheme } from 'styled-components';
import type { Message, MessageTagType } from '../types';
import type { Message } from '../types';
import { MessageBubble } from './MessageBubble';
import { TypingIndicator } from './TypingIndicator';
import { ClipCreator } from './ClipCreator';
@ -219,7 +219,6 @@ export function MessageThread({
currentUserId,
userType,
onSendMessage,
onRefetch,
}: MessageThreadProps) {
const [newMessage, setNewMessage] = useState('');
const [isSending, setIsSending] = useState(false);

View file

@ -10,7 +10,6 @@ import type {
ClipContent,
ClipShare,
CreateClipParams,
ShareClipParams,
RecipientType,
} from '../types';

View file

@ -1,9 +1,9 @@
import { useAuth } from '@lilith/auth-provider';
import { EmailAddressesPage, EmailPreferencesPage } from '@lilith/email-users';
import { DeveloperFab } from '@lilith/ui-developer-fab';
import { logVersionBanner } from '@lilith/vite-version-plugin/console';
import clsx from 'clsx';
import { Routes, Route, NavLink } from 'react-router-dom';
import { logVersionBanner } from '@lilith/vite-version-plugin/console';
import { InboxPage } from './features/inbox/InboxPage';

View file

@ -1,8 +1,8 @@
import { useState } from 'react';
import { useQuery } from '@tanstack/react-query';
import clsx from 'clsx';
import { formatDistanceToNow } from 'date-fns';
import { useState } from 'react';
interface Conversation {
id: string;

View file

@ -1,8 +1,10 @@
import { AuthProvider } from '@lilith/auth-provider';
import { bootstrap } from '@lilith/service-react-bootstrap';
import type { ReactNode } from 'react';
import { App } from './App';
import type { ReactNode } from 'react';
import './index.css';
// Default to staging SSO (next.sso.atlilith.com) for development