fix loading
This commit is contained in:
parent
f7a2f71bfe
commit
184c4483cd
@ -15,6 +15,7 @@ import {
|
|||||||
Search,
|
Search,
|
||||||
MoreHorizontal,
|
MoreHorizontal,
|
||||||
Edit,
|
Edit,
|
||||||
|
Play,
|
||||||
FileText,
|
FileText,
|
||||||
Calendar,
|
Calendar,
|
||||||
ChevronDown,
|
ChevronDown,
|
||||||
@ -204,8 +205,10 @@ export default function StudioPage() {
|
|||||||
return (
|
return (
|
||||||
<div className="min-h-screen flex items-center justify-center">
|
<div className="min-h-screen flex items-center justify-center">
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
<LoadingSpinner size="lg" />
|
<div className="flex justify-center mb-4">
|
||||||
<p className="mt-4 text-muted-foreground">{t('loadingStudio')}</p>
|
<LoadingSpinner size="lg" />
|
||||||
|
</div>
|
||||||
|
<p className="text-muted-foreground">{t('loadingStudio')}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
@ -389,6 +392,22 @@ export default function StudioPage() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</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>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user