Skip to content

Commit d095c6c

Browse files
authored
Hide domains settings (#1408)
1 parent 6f8fe30 commit d095c6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/studio/src/lib/editor/engine/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class EditorEngine {
3232
private _plansOpen: boolean = false;
3333
private _settingsOpen: boolean = false;
3434
private _editorPanelTab: EditorTabValue = EditorTabValue.CHAT;
35-
private _settingsTab: SettingsTabValue = SettingsTabValue.DOMAIN;
35+
private _settingsTab: SettingsTabValue = SettingsTabValue.PROJECT;
3636

3737
private canvasManager: CanvasManager;
3838
private chatManager: ChatManager;

apps/studio/src/routes/editor/EditPanel/ChatTab/CodeChangeDisplay/CollapsibleCodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function CollapsibleCodeBlock({
127127
>
128128
<div className="border-t">
129129
{isStream ? (
130-
<code className="p-4 text-xs w-full overflow-x-auto block">
130+
<code className="p-4 text-xs w-full overflow-x-auto block text-foreground-secondary">
131131
{content}
132132
</code>
133133
) : (

apps/studio/src/routes/editor/SettingsModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const SettingsModal = observer(() => {
4949
<Button
5050
variant="ghost"
5151
className={cn(
52-
'w-full justify-start px-0 hover:bg-transparent',
52+
'w-full justify-start px-0 hover:bg-transparent hidden',
5353
editorEngine.settingsTab === SettingsTabValue.DOMAIN
5454
? 'text-foreground-active'
5555
: 'text-muted-foreground',

0 commit comments

Comments
 (0)