import { Card, Skeleton, Stack, Text } from "@mantine/core"; export default function PreparingContent({ textGenerationState, }: { textGenerationState: string; }) { const getStateText = () => { if (textGenerationState === "awaitingSearchResults") { return "Awaiting search results..."; } if (textGenerationState === "preparingToGenerate") { return "Preparing AI response..."; } return null; }; return ( {getStateText()} ); }