Skip to content

Commit 4167b35

Browse files
Update components/preview.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 52e61f7 commit 4167b35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/preview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export function Preview({
102102
)}
103103
</TabsTrigger>
104104
<TabsTrigger
105+
disabled={isPreviewLoading || !result || result.template !== 'code-interpreter-v1'}
105106
className="font-normal text-xs py-1 px-2 gap-1 flex items-center"
106107
value="interpreter"
107108
>

0 commit comments

Comments
 (0)