---
import { createCaller } from "#lib/caller";
import UserLayout from "../../../layouts/UserLayout.astro";
import DashboardPDFViewerModule from "../../../modules/Dashboard/DashboardPDFViewerModule.svelte";
import { prisma } from "@ibcornelsen/database/server";

const caller = createCaller(Astro);

const ausweise = await caller.v1.verbrauchsausweisWohnen.getMany({
	limit: 10
});
---

<UserLayout title="PDF Viewer">
	<DashboardPDFViewerModule ausweise={ausweise} client:only></DashboardPDFViewerModule>
</UserLayout>