File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
apps/web/src/app/project/[id]/_components/right-panel Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const ChatControls = observer(() => {
22
22
size = { 'icon' }
23
23
className = "p-2 w-fit h-fit hover:bg-background-onlook"
24
24
onClick = { handleNewChat }
25
- disabled = { editorEngine . chat ?. isWaiting || true }
25
+ disabled = { editorEngine . chat ?. isWaiting || false }
26
26
>
27
27
< Icons . Plus />
28
28
</ Button >
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const ChatPanelDropdown = ({ children }: { children: React.ReactNode }) =
20
20
21
21
const updateChatSettings = ( e : React . MouseEvent , settings : Partial < ChatSettings > ) => {
22
22
e . preventDefault ( ) ;
23
- userManager . settings . updateChat ( settings ) ;
23
+ // userManager.settings.updateChat(settings);
24
24
} ;
25
25
26
26
return (
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ export const RightPanel = observer(() => {
37
37
const [ isOpen , setIsOpen ] = useState ( true ) ;
38
38
const selectedTab = editorEngine . state . editorPanelTab ;
39
39
const editPanelWidth = EDIT_PANEL_WIDTHS [ selectedTab ] ;
40
- const [ isChatHistoryOpen , setIsChatHistoryOpen ] = useState ( false ) ;
41
-
42
40
43
41
function renderEmptyState ( ) {
44
42
return (
You can’t perform that action at this time.
0 commit comments