+ {pageResults.map(({ result, originalIndex }, idx) => (
+
+ {result.rects.map((rect, rectIdx) => (
+
+ ))}
+
+ ))}
+
+ );
+}
\ No newline at end of file
diff --git a/frontend/src/components/viewer/EmbedPdfViewer.tsx b/frontend/src/components/viewer/EmbedPdfViewer.tsx
index 7f54dd11c..defb4685a 100644
--- a/frontend/src/components/viewer/EmbedPdfViewer.tsx
+++ b/frontend/src/components/viewer/EmbedPdfViewer.tsx
@@ -8,6 +8,7 @@ import { useFileState } from "../../contexts/FileContext";
import { useFileWithUrl } from "../../hooks/useFileWithUrl";
import { LocalEmbedPDF } from './LocalEmbedPDF';
import { PdfViewerToolbar } from './PdfViewerToolbar';
+import { SearchInterface } from './SearchInterface';
export interface EmbedPdfViewerProps {
sidebarsVisible: boolean;
@@ -27,6 +28,7 @@ const EmbedPdfViewer = ({
const { colorScheme } = useMantineColorScheme();
const viewerRef = React.useRef