fix docker?
This commit is contained in:
@@ -7,6 +7,7 @@ import { Send, Bold, Italic, Code, Link as LinkIcon, Image as ImageIcon, X, Eye,
|
||||
import { toast } from "sonner";
|
||||
import { clientFetch } from "@/lib/api";
|
||||
import { Textarea } from "@/components/ui/textarea";
|
||||
import Image from "next/image";
|
||||
import ProductSelector from "./product-selector";
|
||||
|
||||
const ReactMarkdown = lazy(() => import('react-markdown'));
|
||||
@@ -275,9 +276,15 @@ __italic text__
|
||||
|
||||
{imagePreview && (
|
||||
<div className="relative">
|
||||
<img
|
||||
<Image
|
||||
src={imagePreview}
|
||||
alt="Preview"
|
||||
alt="Broadcast preview"
|
||||
width={400}
|
||||
height={200}
|
||||
priority // Load immediately since it's a preview
|
||||
placeholder="blur"
|
||||
blurDataURL="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjRjNGNEY2Ii8+PC9zdmc+"
|
||||
quality={85}
|
||||
className="max-h-[200px] rounded-md object-contain"
|
||||
/>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user