Skip to content

Commit 670c8d6

Browse files
committed
fix: cleanup chat.tsx for build
1 parent 9d181cf commit 670c8d6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/routes/chat/chat.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import { useAutoScroll } from '@/hooks/use-auto-scroll';
3636
import { useImageUpload } from '@/hooks/use-image-upload';
3737
import { useDragDrop } from '@/hooks/use-drag-drop';
3838
import { ImageAttachmentPreview } from '@/components/image-attachment-preview';
39-
import { createAIMessage } from './utils/message-helpers';
4039
import { Button } from '@/components/ui/button';
4140
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '@/components/ui/dropdown-menu';
4241
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle } from '@/components/ui/alert-dialog';
@@ -113,14 +112,12 @@ export default function Chat() {
113112
totalFiles,
114113
websocket,
115114
sendUserMessage,
116-
sendAiMessage,
117115
blueprint,
118116
previewUrl,
119117
clearEdit,
120118
projectStages,
121119
phaseTimeline,
122120
isThinking,
123-
onCompleteBootstrap,
124121
// Deployment and generation control
125122
isDeploying,
126123
cloudflareDeploymentUrl,
@@ -235,7 +232,7 @@ export default function Chat() {
235232
const imageInputRef = useRef<HTMLInputElement>(null);
236233

237234
// Fake stream bootstrap files
238-
const { streamedFiles: streamedBootstrapFiles, doneStreaming } =
235+
const { streamedFiles: streamedBootstrapFiles } =
239236
useFileContentStream(bootstrapFiles, {
240237
tps: 600,
241238
enabled: isBootstrapping,

0 commit comments

Comments
 (0)