/* * ============================================================================= * VibeQuant (vquant) — AI-Powered Financial Intelligence Platform * ----------------------------------------------------------------------------- * File: client/src/components/chat/error-state.tsx * * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai * Website: https://www.spboucher.ai * Demo: https://www.vquant.ai * License: MIT (see LICENSE) * * Copyright © 2026 Simon-Pierre Boucher. All rights reserved. * ============================================================================= */ import { motion } from "framer-motion"; import { AlertCircle, RefreshCw } from "lucide-react"; import { Button } from "@/components/ui/button"; interface ErrorStateProps { error: string; onRetry?: () => void; } export function ErrorState({ error, onRetry }: ErrorStateProps) { return (

Something went wrong

{error}

{onRetry && ( )}
); }