Spaces:
Running
Running
axeronis commited on
Commit ·
c0e9c2b
1
Parent(s): 60f2b59
fix(build): move misplaced import statement in MessageBubble
Browse files
frontend/components/ChatWindow/MessageBubble.tsx
CHANGED
|
@@ -5,6 +5,7 @@ import { Bot, User, FileText, Download, Play, Pause, Trash2, X } from 'lucide-re
|
|
| 5 |
import { motion, AnimatePresence } from 'framer-motion'
|
| 6 |
import type { Message } from '@/types'
|
| 7 |
import { useState, useRef, useCallback } from 'react'
|
|
|
|
| 8 |
|
| 9 |
interface MessageBubbleProps {
|
| 10 |
message: Message
|
|
@@ -92,7 +93,6 @@ function MediaContent({ message, isMe }: { message: Message; isMe: boolean }) {
|
|
| 92 |
)
|
| 93 |
}
|
| 94 |
|
| 95 |
-
import { ImageViewer } from '@/components/ui/ImageViewer'
|
| 96 |
|
| 97 |
// ... inside MediaContent function ...
|
| 98 |
|
|
|
|
| 5 |
import { motion, AnimatePresence } from 'framer-motion'
|
| 6 |
import type { Message } from '@/types'
|
| 7 |
import { useState, useRef, useCallback } from 'react'
|
| 8 |
+
import { ImageViewer } from '@/components/ui/ImageViewer'
|
| 9 |
|
| 10 |
interface MessageBubbleProps {
|
| 11 |
message: Message
|
|
|
|
| 93 |
)
|
| 94 |
}
|
| 95 |
|
|
|
|
| 96 |
|
| 97 |
// ... inside MediaContent function ...
|
| 98 |
|