diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index 934a3d5545..f839fb5140 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -353,7 +353,7 @@ export const BaseChat = React.forwardRef( {!chatStarted && (

- Where ideas begin + Where ideas being destrroyed..

Bring ideas to life in seconds or get help on existing projects. diff --git a/app/components/chat/ChatBox.tsx b/app/components/chat/ChatBox.tsx index 209a24c949..f5f7c829b1 100644 --- a/app/components/chat/ChatBox.tsx +++ b/app/components/chat/ChatBox.tsx @@ -11,14 +11,12 @@ import { SendButton } from './SendButton.client'; import { IconButton } from '~/components/ui/IconButton'; import { toast } from 'react-toastify'; import { SpeechRecognitionButton } from '~/components/chat/SpeechRecognition'; -import { SupabaseConnection } from './SupabaseConnection'; import { ExpoQrModal } from '~/components/workbench/ExpoQrModal'; import styles from './BaseChat.module.scss'; import type { ProviderInfo } from '~/types/model'; import { ColorSchemeDialog } from '~/components/ui/ColorSchemeDialog'; import type { DesignScheme } from '~/types/design-scheme'; import type { ElementInfo } from '~/components/workbench/Inspector'; -import { McpTools } from './MCPTools'; import { WebSearch } from './WebSearch.client'; interface ChatBoxProps { @@ -263,7 +261,6 @@ export const ChatBox: React.FC = (props) => {

- props.handleFileUpload()}>
@@ -328,7 +325,6 @@ export const ChatBox: React.FC = (props) => { Return a new line
) : null} - props.setQrModalOpen(false)} />
diff --git a/app/components/header/Header.tsx b/app/components/header/Header.tsx index 1d509ce82e..0f7fb330f2 100644 --- a/app/components/header/Header.tsx +++ b/app/components/header/Header.tsx @@ -20,7 +20,6 @@ export function Header() { {/* */} logo - logo {chat.started && ( // Display ChatDescription and HeaderActionButtons only when the chat has started. diff --git a/app/components/header/HeaderActionButtons.client.tsx b/app/components/header/HeaderActionButtons.client.tsx index 9caa21a046..e20264e5c1 100644 --- a/app/components/header/HeaderActionButtons.client.tsx +++ b/app/components/header/HeaderActionButtons.client.tsx @@ -1,55 +1,7 @@ -import { useState } from 'react'; -import { useStore } from '@nanostores/react'; -import { workbenchStore } from '~/lib/stores/workbench'; -import { DeployButton } from '~/components/deploy/DeployButton'; - interface HeaderActionButtonsProps { chatStarted: boolean; } export function HeaderActionButtons({ chatStarted: _chatStarted }: HeaderActionButtonsProps) { - const [activePreviewIndex] = useState(0); - const previews = useStore(workbenchStore.previews); - const activePreview = previews[activePreviewIndex]; - - const shouldShowButtons = activePreview; - - return ( -
- {/* Deploy Button */} - {shouldShowButtons && } - - {/* Debug Tools */} - {shouldShowButtons && ( -
- -
- -
- )} -
- ); + return
; } diff --git a/tsconfig.json b/tsconfig.json index fce7b74a7d..c1b6944c81 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -34,5 +34,8 @@ "**/.server/**/*.tsx", "**/.client/**/*.ts", "**/.client/**/*.tsx" + ], + "exclude": [ + "functions" ] }