Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix component name to use lazy loading

Smaug67394de33b91af2e
diff --git a/frontend/app/components/LazyPDFViewer.vue b/frontend/app/components/PDFViewer.vue
similarity index 100%
rename from frontend/app/components/LazyPDFViewer.vue
rename to frontend/app/components/PDFViewer.vue
diff --git a/frontend/app/pages/dashboard/cdn/[id]/preview.vue b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
index 2902b9e0..785b51b8 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/preview.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
@@ -34,7 +34,6 @@
</template>
<script setup lang="ts">
-import LazyPDFViewer from '~/components/LazyPDFViewer.vue';
import { PDF_SCALES, DEFAULT_PDF_SCALE } from '~/helpers/constants';
definePageMeta({ breadcrumb: 'Preview' });