import { useMemo } from 'react'; const MESSAGES = [ 'Thinking really hard', 'Putting on my thinking cap', 'Consulting the AI gods', 'Brewing up an answer', 'Crunching the numbers', 'Reading the digital tea leaves', 'Firing up the neurons', 'Summoning my inner genius', 'Connecting the dots', 'Working my magic', 'Channeling my inner Einstein', 'Cooking up something good', ]; export const AIStateIndicator = ({ text }: { text?: string }) => { const messageIndex = useMemo( () => Math.floor(Math.random() * MESSAGES.length), [], ); return (