fix loading
This commit is contained in:
parent
f7a2f71bfe
commit
184c4483cd
@ -15,6 +15,7 @@ import {
|
||||
Search,
|
||||
MoreHorizontal,
|
||||
Edit,
|
||||
Play,
|
||||
FileText,
|
||||
Calendar,
|
||||
ChevronDown,
|
||||
@ -204,8 +205,10 @@ export default function StudioPage() {
|
||||
return (
|
||||
<div className="min-h-screen flex items-center justify-center">
|
||||
<div className="text-center">
|
||||
<LoadingSpinner size="lg" />
|
||||
<p className="mt-4 text-muted-foreground">{t('loadingStudio')}</p>
|
||||
<div className="flex justify-center mb-4">
|
||||
<LoadingSpinner size="lg" />
|
||||
</div>
|
||||
<p className="text-muted-foreground">{t('loadingStudio')}</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
@ -389,6 +392,22 @@ export default function StudioPage() {
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Action Buttons */}
|
||||
<div className="flex items-center justify-end mt-4 pt-3 border-t border-border">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
handleDebugPrompt(prompt.id)
|
||||
}}
|
||||
className="flex items-center space-x-1"
|
||||
>
|
||||
<Play className="h-3 w-3" />
|
||||
<span className="text-xs">{t('debugPrompt')}</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user