From 916f28633eb263406243f6b34642531e12910612 Mon Sep 17 00:00:00 2001 From: lohxt1 Date: Wed, 20 Nov 2024 19:20:43 +0530 Subject: [PATCH] fix: video preview comp memo import --- .../ResponsePane/QueryResult/QueryResultPreview/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/ResponsePane/QueryResult/QueryResultPreview/index.js b/packages/bruno-app/src/components/ResponsePane/QueryResult/QueryResultPreview/index.js index 6cb9ee245..d4fbee07e 100644 --- a/packages/bruno-app/src/components/ResponsePane/QueryResult/QueryResultPreview/index.js +++ b/packages/bruno-app/src/components/ResponsePane/QueryResult/QueryResultPreview/index.js @@ -11,7 +11,7 @@ import { GlobalWorkerOptions } from 'pdfjs-dist/build/pdf'; GlobalWorkerOptions.workerSrc = 'pdfjs-dist/legacy/build/pdf.worker.min.mjs'; import ReactPlayer from 'react-player'; -const VideoPreview = memo(({ contentType, dataBuffer }) => { +const VideoPreview = React.memo(({ contentType, dataBuffer }) => { const [videoUrl, setVideoUrl] = useState(null); useEffect(() => {