import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'; import { AlertCircle } from 'lucide-react'; interface AssetTableErrorProps { error: unknown; } export function AssetTableError({ error }: AssetTableErrorProps) { const errorMessage = error instanceof Error ? error.message : 'An error occurred while loading the table'; return ( Error {errorMessage} ); }