diff --git a/src/components/ai-toolbar.tsx b/src/components/ai-toolbar.tsx index 6d74585..342a34e 100644 --- a/src/components/ai-toolbar.tsx +++ b/src/components/ai-toolbar.tsx @@ -1,80 +1,84 @@ -import { Button } from '@/components/ui/button' -import { Textarea } from '@/components/ui/textarea' -import { Card } from '@/components/ui/card' +import { Button } from "@/components/ui/button"; +import { Textarea } from "@/components/ui/textarea"; +import { Card } from "@/components/ui/card"; interface AIToolbarProps { - isAuthenticated: boolean - isPending: boolean - aiPrompt: string - setAiPrompt: (prompt: string) => void - aiLoading: boolean - onAiCreate: () => void - onAiSummarize: () => void - summary: string | null - summaryUpdated: string | null + isAuthenticated: boolean; + isPending: boolean; + aiPrompt: string; + setAiPrompt: (prompt: string) => void; + aiLoading: boolean; + onAiCreate: () => void; + onAiSummarize: () => void; + summary: string | null; + summaryUpdated: string | null; } export const AIToolbar = ({ - isAuthenticated, - isPending, - aiPrompt, - setAiPrompt, - aiLoading, - onAiCreate, - onAiSummarize, - summary, - summaryUpdated + isAuthenticated, + isPending, + aiPrompt, + setAiPrompt, + aiLoading, + onAiCreate, + onAiSummarize, + summary, + summaryUpdated, }: AIToolbarProps) => { - return ( - <> - {isPending ? ( -
Loading...
- ) : ( -
- {isAuthenticated ? ( -
-
-