import { useState } from 'react' function Avatar({ character }) { const name = character?.name || 'AI' const image = character?.image || null if (image) { return } return (