- {!showDocument ? (
-
- ) : (
-
- {renderedPageNumber && renderedPageNumber !== pageNumber && (
-
- )}
-
-
- )}
- {!loading && showDocument && (
-
-
-
- Page {pageNumber || (numPages ? 1 : '--')} of {numPages || '--'}
-
-
-
- )}
+
+
)
})
diff --git a/src/components/media-types/vector/index.jsx b/src/components/media-types/vector/index.jsx
index 229970d96..69edbdaf3 100644
--- a/src/components/media-types/vector/index.jsx
+++ b/src/components/media-types/vector/index.jsx
@@ -63,6 +63,6 @@ export const VectorComponent = ({
)
}
// svg version: src={`${src}?author=${_creator_}&viewer=${_viewer_}`}
-// iframe version: src={`https://iframe.teia.art/svg/?src=${src}&creator=${_creator_}&viewer=${_viewer_}`}
+// iframe version: src={import.meta.env.VITE_IFRAME_URL + `/svg/?src=${src}&creator=${_creator_}&viewer=${_viewer_}`}
export default VectorComponent